public void RegisterFrameworkExceptionTypesShouldRegisterResolutionFailedException() { var bootstrapper = new DefaultWindsorBootstrapper(); bootstrapper.CallRegisterFrameworkExceptionTypes(); Assert.IsTrue(ExceptionExtensions.IsFrameworkExceptionRegistered( typeof(Castle.MicroKernel.ComponentNotFoundException))); }
public void RegisterFrameworkExceptionTypesShouldRegisterActivationException() { var bootstrapper = new DefaultWindsorBootstrapper(); bootstrapper.CallRegisterFrameworkExceptionTypes(); Assert.IsTrue(ExceptionExtensions.IsFrameworkExceptionRegistered( typeof(Microsoft.Practices.ServiceLocation.ActivationException))); }