public void TestInitialize() { DependencyHelper.Initialize(); IUnityContainer container = DependencyHelper.Container; _mockDbContext = new Mock <DatabaseContext>(); container.RegisterInstance <DatabaseContext>(_mockDbContext.Object); _employeeController = container.Resolve <EmployeesController>(); _fakeEmployeeDbSet = new FakeEmployeeSet(); }
private static void InitializeDependencyInjectionContainer() { DependencyHelper.Initialize(); }
public static void Init() { DependencyHelper.Initialize(); }