public override void Untyped_Response_With_Content_Register_Callback() { UntypedMock.Object.BadRequest((object res) => { }); HandlerMock.Verify(handler => handler.RegisterCallback(HttpStatusCode.BadRequest, It.IsAny <Action <object> >()), Times.Once); }
public override void Untyped_Response_Without_Content_Register_Callback() { UntypedMock.Object.Forbidden(() => { }); HandlerMock.Verify(handler => handler.RegisterCallback(HttpStatusCode.Forbidden, It.IsAny <Action>()), Times.Once); }
public override void Typed_Response_Without_Content_Register_Callback() { TypedMock.Object.InternalServerError(() => { }); HandlerMock.Verify(handler => handler.RegisterCallback(HttpStatusCode.InternalServerError, It.IsAny <Action>()), Times.Once); }