@Test
public void shouldObtainCustomOptions() throws Exception {

    final String sledge = "sledge";
    this.function.setStatementOption( getTransaction(), sledge, "hammer" );
    final String elvis = "elvis";
    this.function.setStatementOption( getTransaction(), elvis, "presley" );
    assertThat( this.function.getCustomOptions( getTransaction() ).length, is( 2 ) );
    assertThat( Arrays.asList( this.function.getStatementOptionNames( getTransaction() ) ), hasItems( sledge, elvis ) );
}