public void TestDependencyRegistered_IsUpdated() { DependencyFactory.Set(typeof(Log), () => new Log()); // Simulate Update DependencyFactory.Set(typeof(Log), () => new Log()); Assert.IsNotNull(DependencyFactory.Get <Log>()); }
public void RegisterDependencies() { DependencyFactory.Set <ApiConfigurationRepository>(typeof(IApiConfigurationRepository), () => new ApiConfigurationRepository()); }