Package facebook4j

Examples of facebook4j.Page


    }

    @Test
    public void getRawJSON() throws Exception {
        facebook.setMockJSON("mock_json/page/f4j.json");
        Page page = facebook.getPage();
        String rawJSON = DataObjectFactory.getRawJSON(page);
        assertThat(rawJSON, is(notNullValue()));
    }
View Full Code Here


    }

    @Test
    public void createPage() throws Exception {
        facebook.setMockJSON("mock_json/page/f4j.json");
        Page page = facebook.getPage();
        String rawJSON = DataObjectFactory.getRawJSON(page);
        Page actual = DataObjectFactory.createPage(rawJSON);
        assertThat(actual, is(page));
        assertThat(actual.toString(), is(page.toString()));
    }
View Full Code Here

TOP

Related Classes of facebook4j.Page

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.