### Question:
AlterStatementBuilder { public String buildWithLocation(Location location) { return startBuild() .append("SET LOCATION '") .append(location.toURI().toString()) .append("'") .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 testWithLocation() throws Exception { Location location = locationFactory.create("/some/path"); String expected = "ALTER TABLE abc.dataset_xyz " + "SET LOCATION '" + location.toURI().toString() + "'"; String actual = new AlterStatementBuilder("xyz", "abc", "dataset_xyz", true) .buildWithLocation(location); Assert.assertEquals(expected, actual); }