public void should_return_null_when_admin_uri_not_set() { // Arrange var conference = new ConferenceBuilder() .Build(); conference.UpdateMeetingRoom(null, "judgeUri", "participantUri", "pexipNode", "telephoneConferenceId"); // Act/Assert conference.GetMeetingRoom().Should().BeNull(); }
public void Should_add_room_details() { var conference = new ConferenceBuilder().Build(); conference.GetMeetingRoom().Should().BeNull(); const string adminUri = "https://poc.node.com/viju/#/[email protected]&output=embed"; const string judgeUri = "https://poc.node.com/viju/#/[email protected]&output=embed"; const string participantUri = "https://poc.node.com/viju/#/[email protected]&output=embed"; const string pexipNode = "poc.node.com"; const string telephoneConferenceId = "12345678"; conference.UpdateMeetingRoom(adminUri, judgeUri, participantUri, pexipNode, telephoneConferenceId); conference.GetMeetingRoom().Should().NotBeNull(); var meetingRoom = conference.GetMeetingRoom(); meetingRoom.AdminUri.Should().Be(adminUri); meetingRoom.JudgeUri.Should().Be(judgeUri); meetingRoom.ParticipantUri.Should().Be(participantUri); meetingRoom.PexipNode.Should().Be(pexipNode); }