@Test public void testIsMainPageProps() {

    String text = "text";
    WikiSite wiki = WikiSite.forLanguageCode("test");
    final String thumbUrl = null;
    final String desc = null;
    PageProperties props = mock(PageProperties.class);
    when(props.isMainPage()).thenReturn(true);
    PageTitle subject = new PageTitle(text, wiki, thumbUrl, desc, props);
    assertThat(subject.isMainPage(), is(true));
}