protected function setUp()
 {
     parent::setUp();
     $this->repository = new AggregateRepository($this->eventStore, AggregateType::fromAggregateRootClass('Prooph\\EventStoreTest\\Mock\\User'), new ConfigurableAggregateTranslator());
     $this->eventStore->beginTransaction();
     $this->eventStore->create(new Stream(new StreamName('event_stream'), []));
     $this->eventStore->commit();
 }
 protected function setUp()
 {
     parent::setUp();
     $this->strategy = new AggregateTypeStreamStrategy($this->eventStore);
     $this->eventStore->beginTransaction();
     $this->eventStore->create(new Stream(new StreamName('Prooph\\EventStoreTest\\Mock\\User'), []));
     $this->eventStore->commit();
 }
 protected function setUp()
 {
     parent::setUp();
     $this->strategy = new SingleStreamStrategy($this->eventStore);
     $this->eventStore->beginTransaction();
     $this->eventStore->create(new Stream(new StreamName('event_stream'), []));
     $this->eventStore->commit();
 }
 protected function setUp()
 {
     parent::setUp();
     $this->strategy = new AggregateStreamStrategy($this->eventStore);
 }