@Test
public void shouldHaveCorrectChildTypes() {

    assertThat( Arrays.asList( this.table.getChildTypes() ),
                hasItems( AccessPattern.IDENTIFIER,
                          Column.IDENTIFIER,
                          ForeignKey.IDENTIFIER,
                          Index.IDENTIFIER,
                          PrimaryKey.IDENTIFIER,
                          UniqueConstraint.IDENTIFIER ) );
    assertThat( this.table.getChildTypes().length, is( 6 ) );
}