public async void DeleteMessages_Delete_Id_3() { var query = new MessagesController(context); var result = await query.DeleteMessages(3); // async Assert.Equal("Comment3 Case1", result.Value.Comment); }
public async void DeleteMessages_Returns_OK() { var query = new MessagesController(context); var result = await query.DeleteMessages(3); // async Assert.IsType <ActionResult <Messages> >(result); }