@Test
public void testIsComplete() throws Exception {

    doReturn(true).when(plugin).isPatternToDeletePageCompleted();
    page.isComplete(Assert::assertTrue);
    verify(plugin).isPatternToDeletePageCompleted();
}