@Test
public void shouldIncludeSpecialPropertiesInPrimaryTypePropertyDescriptors() throws Exception {

    final PropertyDescriptor[] descriptors = this.vdb.getPrimaryType( getTransaction() ).getPropertyDescriptors( getTransaction() );
    final List< String > specialProps = new ArrayList<>( Arrays.asList( VdbImpl.SpecialProperty.valuesAsTeiidNames() ) );
    // make sure we are returning more than just the special props
    assertThat( descriptors.length > specialProps.size(), is( true ) );
    for ( final PropertyDescriptor descriptor : descriptors ) {
        if ( specialProps.contains( descriptor.getName() ) ) {
            specialProps.remove( descriptor.getName() );
        }
    }
    // make sure we found all the special props
    assertThat( specialProps.isEmpty(), is( true ) );
}