Exemple #1
0
 public void ThrowsException()
 {
     ThrownException.ShouldBeOfType <Exception>();
 }
 public void ShouldThrowAnException()
 {
     ThrownException.ShouldBeOfType <UnknownUserException>();
 }
Exemple #3
0
 public void ThrowsNotImplementedException()
 {
     ThrownException.ShouldBeOfType <NotImplementedException>();
 }