public void registers_an_error()
        {
            var error = new FakeError();
            theConfiguration.RegisterError(error);

            theConfiguration.Errors.ShouldHaveTheSameElementsAs(error);
        }
Example #2
0
        public void registers_an_error()
        {
            var error = new FakeError();

            theConfiguration.RegisterError(error);

            theConfiguration.Errors.ShouldHaveTheSameElementsAs(error);
        }
 public InternalServerError GetExamples()
 {
     return(FakeError.GetFake_InternalServerError());
 }
Example #4
0
 public NotFound GetExamples()
 {
     return(FakeError.GetFake_NotFound());
 }
Example #5
0
 public Forbidden GetExamples()
 {
     return(FakeError.GetFake_Forbidden());
 }
Example #6
0
 public ValidationFailed GetExamples()
 {
     return(FakeError.GetFake_Validation());
 }
Example #7
0
 public BadRequest GetExamples()
 {
     return(FakeError.GetFake_BadRequest());
 }
Example #8
0
 public Unauthorized GetExamples()
 {
     return(FakeError.GetFake_Unauthorized());
 }
Example #9
0
 public Conflict GetExamples()
 {
     return(FakeError.GetFake_Conflict());
 }