Beispiel #1
0
        protected override void Given()
        {
            var eventProcessorCache = PreProcessorHelper.CreateEventProcessorCache();

            _testClient = new DomainRepository(new AggregateRootFactory(eventProcessorCache, new ApprovedEntitiesCache())).CreateNew <TestClient>();
            _testClient.ClientMoves(new Address("street", "number", "postalCode", "city"));
        }
Beispiel #2
0
 protected override void When()
 {
     _testClient.ClientMoves(new Address("street", "number", "postalCode", "city"));
 }
 protected override void When()
 {
     _testClient1.ClientMoves(new Address("street", "1", "1111", "city"));
     _testClient2.ClientMoves(new Address("street", "2", "2222", "city"));
 }
 protected override void Given()
 {
     var eventProcessorCache = PreProcessorHelper.CreateEventProcessorCache();
     _testClient = new DomainRepository(new AggregateRootFactory(eventProcessorCache, new ApprovedEntitiesCache())).CreateNew<TestClient>();
     _testClient.ClientMoves(new Address("street", "number", "postalCode", "city"));
 }