@Test
public void testShowParametersWhenParametersAreNotEnabled() {

    final PortableWorkDefinition workDefinition = mock(PortableWorkDefinition.class);
    when(plugin.getWorkItemDefinition()).thenReturn(workDefinition);
    page.showParameters();
    verify(view).hideParameters();
}