Example #1
0
 public CustomerServiceController()
 {
     _logger               = new CustomLogger();
     _dbContextRepo        = new CustomerContextFactory <CustomerContextRepository>().GetInstance();
     _dbVehicleContextRepo = new VehicleContextFactory <VehicleContextRepository>().GetInstance();
     _mqServiceBus         = new MqService();
 }
        public void create_vehicle_context_repository_object_using_factory_pattern()
        {
            _dbContextRepo = new VehicleContextFactory <VehicleContextRepository>().GetInstance();

            Assert.IsNotNull(_dbContextRepo);
        }
Example #3
0
 public VehicleUnitTest()
 {
     _dbContextRepo = new VehicleContextFactory <VehicleContextRepository>().GetInstance();
 }