. "github.com/onsi/gomega" "github.com/pivotal-golang/lager" "github.com/pivotal-golang/lager/lagertest" "github.com/concourse/atc/builds" "github.com/concourse/atc/builds/fakes" "github.com/concourse/atc/db" "github.com/concourse/atc/engine" enginefakes "github.com/concourse/atc/engine/fakes" ) var _ = Describe("Tracker", func() { var ( fakeTrackerDB *fakes.FakeTrackerDB fakeEngine *enginefakes.FakeEngine tracker *builds.Tracker logger *lagertest.TestLogger ) BeforeEach(func() { fakeTrackerDB = new(fakes.FakeTrackerDB) fakeEngine = new(enginefakes.FakeEngine) logger = lagertest.NewTestLogger("test") tracker = builds.NewTracker( logger, fakeTrackerDB, fakeEngine, ) })