### Question:
ColumnSpec { public String toCreateSQL() { return toCreateSQL(false); } ColumnSpec(String name, String dataType, String comment);  ColumnSpec(String name, String dataType, String comment, boolean pk, boolean createDt, boolean modifiedDt);  ColumnSpec(ColumnSpec other);  ColumnSpec(String name, String dataType, String comment, boolean pk, boolean createDt, boolean modifiedDt, String otherColumnName); static String toPrimaryKeyJoinSQL(ColumnSpec[] specs, String leftTableAlias, String rightTableAlias); static String[] toPrimaryKeys(ColumnSpec[] specs); static ColumnSpec[] createFromString(String specString); String getName(); void setName(String name); String getComment(); void setComment(String comment); String getDataType(); void setDataType(String dataType); boolean isPk(); void setPk(boolean pk); boolean isCreateDt(); void setCreateDt(boolean createDt); boolean isModifiedDt(); void setModifiedDt(boolean modifiedDt); String toCreateSQL(); String toCreateSQL(boolean strings); String toPartitionSQL(); String getOtherColumnName();  }### Answer:
@Test public void toCreateSQL() { final ColumnSpec[] specs = ColumnSpec.createFromString("col1|string"); Assert.assertNotNull(specs); Assert.assertEquals("`col1` string", specs[0].toCreateSQL()); }