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();
}