Exemplo n.º 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);
Exemplo n.º 3
0
 public void ThenConversationsRepositoryGetConversationParticipantsByUserId()
 => ConversationsRepository.Verify(repository => repository.GetConversationParticipantsByUserId(_userId),
                                   Times.Once);