public async Task DeletePostAction_DeleteModelFromService() { // Arrange // Act var result = await validController.DeleteConfirmed(entity.Id); // Assert mock.Verify(a => a.DeleteAsync(entity.Id)); }