예제 #1
0
        public CompanyApplicationServiceTests()
        {
            repository                = new FakeCompanyRepository();
            locationService           = new LocationService(new FakeCityRepository(), new StateFakeRepository(), new CountryFakeRepository());
            bus                       = new FakeServiceBus();
            uow                       = new FakeUnitOfWork();
            identityResolver          = new FakeIdentityResolver();
            domainNotificationHandler = new DomainNotificationHandler();
            factory                   = new CompanyFactory();

            service = new CompanyApplicationService(repository, factory, locationService, identityResolver, domainNotificationHandler, uow, bus);
        }
예제 #2
0
 public CompanySelectTests()
 {
     _repository = new FakeCompanyRepository();
 }
예제 #3
0
 public ComapanyOperationsTests()
 {
     _repository = new FakeCompanyRepository();
 }