public async Task CreateAppointment_ShouldPopulateDatabaseWithApptAndReturnThatAppt() { //ARRANGE _tutorRepositoryMock.Setup(_tutorRepositoryMock => _tutorRepositoryMock.CreateAppointment(appointment)).Returns(Task.FromResult(appointment)); //ACT _sut.CreateAppointment(appointment); //ASSERT _tutorRepositoryMock.Verify((_tutorRepositoryMock => _tutorRepositoryMock.CreateAppointment(appointment)), Times.Once); }