public void CreateInstance_with_arguments_works() { var result = DbContextActivator.CreateInstance( typeof(TestContext), null, null, new[] { "A", "B" }); Assert.IsType <TestContext>(result); }
public void CreateInstance_works() { var result = DbContextActivator.CreateInstance(typeof(TestContext)); Assert.IsType <TestContext>(result); }