@Test
public void shouldGetOnlyResultSetWhenGettingChildren() throws Exception {

    final TabularResultSet resultSet = this.function.setResultSet( getTransaction(), TabularResultSet.class );
    assertThat( this.function.getChildren( getTransaction() ).length, is( 1 ) );
    assertThat( this.function.getChildren( getTransaction() )[0], is( ( KomodoObject )resultSet ) );
}