@Test
public void shouldIncludeOptionsWithPropertyNames() throws Exception {

    final String custom = "blah";
    this.procedure.setStatementOption( getTransaction(), custom, "sledge" );
    boolean customFound = false;
    final String standard = this.procedure.getStandardOptions().keySet().iterator().next();
    this.procedure.setStatementOption( getTransaction(), standard, "hammer" );
    boolean standardFound = false;
    for ( final String prop : this.procedure.getPropertyNames( getTransaction() ) ) {
        if ( custom.equals( prop ) ) {
            if ( customFound ) {
                fail( "Custom option included multiple times in property names" );
            }
            customFound = true;
        } else if ( standard.equals( prop ) ) {
            if ( standardFound ) {
                fail( "Standard option included multiple times in property names" );
            }
            standardFound = true;
        }
        if ( customFound && standardFound ) {
            break;
        }
    }
    if ( !customFound ) {
        fail( "Custom option not included in property names" );
    }
    if ( !standardFound ) {
        fail( "Standard option not included in property names" );
    }
}