Package com.restfb.types.User

Examples of com.restfb.types.User.Picture


    public void checkUserPicture() {
        User exampleUser
                = createJsonMapper().toJavaObject(jsonFromClasspath("v1_0/user-picture"), User.class);
        assertEquals("Tester", exampleUser.getName());
        assertEquals("123456789", exampleUser.getId());
        Picture pic = exampleUser.getPicture();
        assertFalse(pic.getIsSilhouette());
        assertNotNull(pic.getUrl());
        assertEquals("https://fbcdn-profile-a.akamaihd.net/profilepic", pic.getUrl());
    }
View Full Code Here

TOP

Related Classes of com.restfb.types.User.Picture

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.