@Test
public void testIsCompleteWhenPatternIsSet() {

    when(plugin.patternWrapper()).thenReturn(newPattern("factType",
                                                        "",
                                                        false));
    page.isComplete(Assert::assertTrue);
    verify(view).hidePatternWarning();
    verify(view,
           never()).showPatternWarning();
    verify(plugin,
           never()).isNewColumn();
}