github.com/YousefHaggyHeroku/pack@v1.5.5/internal/build/fakes/fake_phase.go (about) 1 package fakes 2 3 import "context" 4 5 type FakePhase struct { 6 CleanupCallCount int 7 RunCallCount int 8 } 9 10 func (p *FakePhase) Cleanup() error { 11 p.CleanupCallCount++ 12 13 return nil 14 } 15 16 func (p *FakePhase) Run(ctx context.Context) error { 17 p.RunCallCount++ 18 19 return nil 20 }