Пример #1
0
 public void ExceptionIsThrownBecauseHandlerIsNotRegisteredInContainer()
 {
     ThrownException.ShouldBeAssignableTo <HandlerNotRegisteredWithContainerException>();
 }
Пример #2
0
 public void InvalidOperationIsThrown()
 {
     ThrownException.ShouldBeAssignableTo <InvalidOperationException>();
 }
 public void ConfigItemsAreRequired()
 {
     ThrownException.ShouldNotBeNull();
     ThrownException.ShouldBeAssignableTo <InvalidOperationException>();
 }
Пример #4
0
 public void ConfigItemsAreRequired()
 {
     ThrownException.ShouldBeAssignableTo <ArgumentNullException>();
 }
Пример #5
0
 public void ThrowsNotSupportedException()
 {
     ThrownException.ShouldBeAssignableTo <NotSupportedException>();
 }
 public void ExceptionShouldBeOfExpectedType()
 {
     ThrownException.ShouldBeAssignableTo <InvalidOperationException>();
 }
 public void DuplicateRegionsAreRejectedWithException()
 {
     ThrownException.ShouldNotBeNull();
     ThrownException.ShouldBeAssignableTo <InvalidOperationException>();
 }