MwMobileViewPageLead extends MwResponse implements PageLead { @VisibleForTesting public Mobileview getMobileview() { return mobileview; }  @Override Page toPage(@NonNull PageTitle title); @Override @NonNull String getLeadSectionContent(); @Nullable @Override String getTitlePronunciationUrl(); @Nullable @Override String getLeadImageUrl(int leadImageWidth); @Nullable @Override String getThumbUrl(); @Nullable @Override String getDescription(); @Nullable @Override Location getGeo(); @VisibleForTesting Mobileview getMobileview();  }
@Test public void testEnglishMainPage() { MwMobileViewPageLead pageLead = unmarshal(MwMobileViewPageLead.class, wrapInMobileview(getEnglishMainPageJson())); MwMobileViewPageLead.Mobileview props = pageLead.getMobileview(); verifyEnglishMainPage(props); }
@Test public void testUnprotectedDisambiguationPage() { MwMobileViewPageLead pageLead = unmarshal(MwMobileViewPageLead.class, wrapInMobileview(getUnprotectedDisambiguationPageJson())); MwMobileViewPageLead.Mobileview props = pageLead.getMobileview(); verifyUnprotectedDisambiguationPage(props); }
@Test public void testProtectedButNoEditProtectionPage() { MwMobileViewPageLead pageLead = unmarshal(MwMobileViewPageLead.class, wrapInMobileview(getProtectedButNoEditProtectionPageJson())); MwMobileViewPageLead.Mobileview props = pageLead.getMobileview(); verifyProtectedNoEditProtectionPage(props); }