public void RegisterFrameworkExceptionTypesShouldRegisterActivationException() { var bootstrapper = new DefaultBootstrapper(); bootstrapper.CallRegisterFrameworkExceptionTypes(); Assert.IsTrue(ExceptionExtensions.IsFrameworkExceptionRegistered( typeof(Microsoft.Practices.ServiceLocation.ActivationException))); }