@Test
public void testForEachFactFieldWhenEditingPatternIsNull() throws Exception {

    when(plugin.patternWrapper()).thenReturn(pattern52);
    when(presenter.getDataModelOracle()).thenReturn(oracle);
    page.forEachFactField(s -> {
    });
    verify(oracle,
           never()).getFieldCompletions(any(),
                                        any(),
                                        any());
}