### Question:
AlterStatementBuilder { public String buildWithFileFormat(String fileFormat) { return startBuild() .append("SET FILEFORMAT ") .append(fileFormat) .toString(); } AlterStatementBuilder(String name, @Nullable String databaseName, String tableName, boolean escapeColumns); String buildWithLocation(Location location); String buildWithTableProperties(Map<String, String> tableProperties); String buildWithSchema(Schema schema); String buildWithSchema(String hiveSchema); String buildWithFileFormat(String fileFormat); String buildWithDelimiter(String delimiter); String buildWithFormats(String inputFormat, String outputFormat, String serde);  }### Answer:
@Test public void testWithFileFormat() throws Exception { String expected = "ALTER TABLE dataset_xyz SET FILEFORMAT TEXTFILE"; String actual = new AlterStatementBuilder("xyz", null, "dataset_xyz", true) .buildWithFileFormat("TEXTFILE"); Assert.assertEquals(expected, actual); }