@Test
public void getScriptCount_nonNull() {

    ExecutionResult result = mock(ExecutionResult.class);
    List<ExecutionResult> results = Arrays.asList(result);
    when(history.getSingleResults()).thenReturn(results);
    int count = item.getScriptCount();
    assertEquals(1, count);
}