Exemple #1
0
        public async Task Request_Full_RosterTest()
        {
            string expectedResult = "<iq xmlns='jabber:client' type='get' id='foo'><query xmlns='jabber:iq:roster'/></iq>";

            var rosterIq = await echoClient.RequestRosterAsync();

            rosterIq.Id = "foo";

            // assert
            rosterIq.ShouldBe(expectedResult);
        }