@Test
public void createOfMyTable_should_returnTableStructure() {

    final TableType tableType = factory.create(MyTable.class);
    final TableType expected = new TableTypeImpl("MY_TABLE",
            new FieldTypeImpl("ID", DataType.INTEGER, Optional.<TemplateValue>absent(), MyTable.ID));
    assertThat(tableType, is(expected));
}