@Test
public void shouldObtainPropertyDescriptorOfStandardOption() throws Exception {

    final String standard = this.function.getStandardOptions().keySet().iterator().next();
    this.function.setStatementOption( getTransaction(), standard, "blah" );
    assertThat( this.function.getPropertyDescriptor( getTransaction(), standard ), is( notNullValue() ) );
    assertThat( this.function.getPropertyDescriptor( getTransaction(), standard ).getName(), is( standard ) );
}