public void CallShouldBeDelegatedToKernelConfiguration() { var service = typeof(string); KernelConfigurationMock.Setup(p => p.Unbind(service)); NinjectModule.Unbind(service); KernelConfigurationMock.Verify(p => p.Unbind(service), Times.Once()); }
public void NoArgumentNullCheckShouldBePerformed() { const Type service = null; KernelConfigurationMock.Setup(p => p.Unbind(service)); NinjectModule.Unbind(service); KernelConfigurationMock.Verify(p => p.Unbind(service), Times.Once()); }