public void Should_throw_an_InvalidOperationException()
 {
     ActualException.ShouldBeOfType <InvalidOperationException>();
 }
示例#2
0
 public void Should_throw_an_InvalidOperationException()
 {
     ActualException.ShouldBeOfType <InvalidOperationException>();
     ActualException.MessageShouldContain("more than one available education organization");
 }
 public void Should_throw_an_error()
 {
     ActualException.ShouldBeOfType <ArgumentOutOfRangeException>();
 }
 public void Should_throw_a_ArgumentNullException()
 {
     ActualException.ShouldBeOfType <ArgumentNullException>();
 }
示例#5
0
 public void Should_throw_an_ArgumentException_indicating_that_resource_extensions_are_not_authorizable()
 {
     ActualException.ShouldBeOfType <Exception>();
     ActualException.Message.ShouldBe("Resource classes with a base resource context for a Profile are not authorizable so schema name extraction from class namespace is not supported.");
 }
 public void Should_throw_NotSupportedException()
 {
     ActualException.ShouldBeOfType <NotSupportedException>();
 }
 public void Should_throw_a_ConfigurationErrorsException()
 {
     ActualException.ShouldBeOfType <ConfigurationErrorsException>();
 }
示例#8
0
 public void Should_throw_not_implemented_exception()
 {
     ActualException.ShouldBeOfType <NotImplementedException>();
 }
示例#9
0
 public void Should_throw_a_security_exception()
 {
     ActualException.ShouldBeOfType <EdFiSecurityException>();
 }