Esempio n. 1
0
        public async Task GetComments_NullRequest_ThrowsArgumentNullException()
        {
            var client = new GraphClient("AppId", "AppSecret", new Version(2, 8));
            await Assert.ThrowsAsync <ArgumentNullException>("request", () => client.GetComments(null));

            await Assert.ThrowsAsync <ArgumentNullException>("request", () => client.GetComments <Comment>(null));
        }