Esempio n. 1
0
        public void ProfileUrlValid()
        {
            UrlGenerator urlGenerator     = new UrlGenerator();
            string       username         = "******";
            string       access_token     = "access_token=1234";
            string       resultProfileUrl = "https://graph.facebook.com/dushyant?access_token=1234&fields=id,name,relationship_status,friends.fields(relationship_status,gender,name)";

            Assert.AreEqual(urlGenerator.ConstructProfileUrl(username, access_token), resultProfileUrl);
        }