@Test
public void testHasEditingPatternWhenFactPatternIsNull() throws Exception {

    when(pattern52.getFactType()).thenReturn("");
    when(plugin.patternWrapper()).thenReturn(pattern52);
    assertFalse(page.hasEditingPattern());
}