public CarsApiSpec(ApiSpecSetup <TestStartup> setup) { this.setup = setup; this.setup.Resolve <IQueryStorage <CarsApplication.ReadModels.Car> >().DestroyAll(); this.setup.Resolve <IEventStreamStorage <CarEntity> >().DestroyAll(); this.setup.Resolve <IQueryStorage <Unavailability> >().DestroyAll(); }
public PersonsApiSpec(ApiSpecSetup <TestStartup> setup) { this.setup = setup; this.setup = setup; this.setup.Resolve <IQueryStorage <Person> >().DestroyAll(); this.setup.Resolve <IEventStreamStorage <PersonEntity> >().DestroyAll(); }