Sanitize { static String instanceName(String instanceName) { return sanitize(instanceName, INSTANCE_RESERVED); } private  Sanitize();   }
@Test public void replacesIllegalCharactersInInstanceName() throws Exception { assertThat(Sanitize.instanceName("foo\u0000bar/baz-quux")).isEqualTo("foo_bar_baz-quux"); }