Beispiel #1
0
 public void ContactCreationService_Contact_EditAsync()
 {
     _contactCreationService.EditAsync(new Contact());
     _contactRepositoryMock.Verify(r => r.EditAsync(It.IsAny <Contact>()), Times.Once);
 }
Beispiel #2
0
 public async Task EditContactAsync(ContactUi contactUi)
 {
     var contactDomain = MapToDomain(contactUi);
     await _contactCreationService.EditAsync(contactDomain);
 }