Пример #1
0
 public void ThenConversationsRepositoryGetConversationsByIdsShouldHaveBeenCalled()
 => ConversationsRepository.Verify(
     repository =>
     repository.GetConversationsByIds(It.IsAny <IList <Guid> >()), Times.Once);
 public void ThenConversationsRepositoryGetConversationParticipantsByConversationIdShouldHaveBeenCalled()
 => ConversationsRepository.Verify(repository => repository.GetConversationParticipantsByConversationId(_conversationId), Times.Once);
Пример #3
0
 public void ThenConversationsRepositoryGetConversationParticipantsByUserId()
 => ConversationsRepository.Verify(repository => repository.GetConversationParticipantsByUserId(_userId),
                                   Times.Once);