Search in sources :

Example 1 with MwMobileViewPageLead

use of org.wikipedia.dataclient.mwapi.page.MwMobileViewPageLead in project apps-android-wikipedia by wikimedia.

the class RbPageLeadTest method testError.

@Test
public void testError() throws Exception {
    MwMobileViewPageLead pageLead = unmarshal(MwMobileViewPageLead.class, getErrorJson());
    MwMobileViewPageLead.Mobileview props = pageLead.getMobileview();
    verifyError(pageLead, props);
}
Also used : MwMobileViewPageLead(org.wikipedia.dataclient.mwapi.page.MwMobileViewPageLead) BasePageLeadTest(org.wikipedia.dataclient.page.BasePageLeadTest) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 MwMobileViewPageLead (org.wikipedia.dataclient.mwapi.page.MwMobileViewPageLead)1 BasePageLeadTest (org.wikipedia.dataclient.page.BasePageLeadTest)1