public void TeamsMeetingParticipantInitsWithNoArgs() { var participant = new TeamsMeetingParticipant(); Assert.NotNull(participant); Assert.IsType <TeamsMeetingParticipant>(participant); }
public void TeamsMeetingParticipantInits() { var user = new TeamsChannelAccount("*****@*****.**", "Joe", "Joe", "Smith", "*****@*****.**", "joePrincipalName"); var conversation = new ConversationAccount(true); var meeting = new MeetingParticipantInfo("owner", true); var participant = new TeamsMeetingParticipant(user, conversation, meeting); Assert.NotNull(participant); Assert.IsType <TeamsMeetingParticipant>(participant); Assert.Equal(user, participant.User); Assert.Equal(conversation, participant.Conversation); Assert.Equal(meeting, participant.Meeting); }