public async Task TestDeleteProjectAsync_VerifyGetAsyncCalledOnce() { var mockRepository = new Mock <IUserRepository>(); var manageUser = new ManageUser(mockRepository.Object, fixture.ManageUserLogger); var user = new User(); var result = await manageUser.DeleteUserAsync(user); mockRepository.Verify(r => r.DeleteAsync(user), Times.Once); }