public void IsValidContainer_InvalidContainer() { var helper = new NinjectHelper(); var container = new object(); Assert.IsFalse(helper.IsValidContainer(container)); }
public void IsValidContainer_ValidContainer() { var helper = new NinjectHelper(); var container = new StandardKernel(); Assert.IsTrue(helper.IsValidContainer(container)); }
public void IsValidContainer_Null() { var helper = new NinjectHelper(); ExceptionTester.CallMethodAndExpectException <ArgumentNullException>(() => helper.IsValidContainer(null)); }