public async Task Test_Edit_Edits_History() { var history = new History { Year = 2017 }; await controller.Edit(history); context.MockContext.Verify(x => x.SetModified(It.Is <object>(t => t == history))); }
public async Task Test_Edit_Edits_History() { var history = new History { Year = 2017 }; await controller.Edit(history); context.MockContext.Verify(x => x.SetModified(It.Is <object>(t => t == history))); }