示例#1
0
 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();
 }
示例#2
0
 public PersonsApiSpec(ApiSpecSetup <TestStartup> setup)
 {
     this.setup = setup;
     this.setup = setup;
     this.setup.Resolve <IQueryStorage <Person> >().DestroyAll();
     this.setup.Resolve <IEventStreamStorage <PersonEntity> >().DestroyAll();
 }