@Test
public void testHasNone() {

    when(params.getDefaultTransition()).thenReturn(null);
    Map<Integer, PdfPageTransition> empty = Collections.emptyMap();
    when(params.getTransitions()).thenReturn(empty);
    assertFalse(victim.isValid(params, null));
}