@Test
public void testGetFactField() {

    final ActionWrapper actionWrapper = mock(ActionWrapper.class);
    final String expectedFactField = "factField";
    when(actionWrapper.getFactField()).thenReturn(expectedFactField);
    when(plugin.editingWrapper()).thenReturn(actionWrapper);
    final String actualFactField = plugin.getFactField();
    verify(actionWrapper).getFactField();
    assertEquals(expectedFactField,
                 actualFactField);
}