GetMyEmailAddress() public method

public GetMyEmailAddress ( string accessToken ) : Task
accessToken string
return Task
        // Test GraphService.GetMyEmailAddress method. 
        // Gets the email address of the test account.
        // Success: Retrieved email address matches test account's email address.
        public async Task GetMyEmailAddress()
        {
            // Arrange
            GraphService graphService = new GraphService();
            string emailAddress = null;

            // Act
            emailAddress = await graphService.GetMyEmailAddress(accessToken);

            // Assert
            Assert.IsTrue(emailAddress.ToLower() == userName.ToLower(), emailAddress.ToString());

        }