public void multi() {
TableModelBuilder target = new TableModelBuilder("Example");
target.add(null, "a", PropertyTypeKind.INT);
target.add(null, "b", new StringType(255));
target.add(null, "c", PropertyTypeKind.DATETIME);
TableModelDescription desc = target.toDescription();
assertThat(desc.getReference().getSimpleName(), is("Example"));
List<ModelProperty> properties = desc.getProperties();
assertThat(properties.size(), is(3));
ModelProperty a = properties.get(0);
assertThat(a.getName(), is("a"));
assertThat(a.getType().getKind(), is(PropertyTypeKind.INT));