### Question:
LegalNames { public static String toServerServiceName(String domainUid, String serverName) { return toServerName(domainUid, serverName); }  static String toServerServiceName(String domainUid, String serverName); static String toEventName(String domainUid, String serverName); static String toPodName(String domainUid, String serverName); static String toClusterServiceName(String domainUid, String clusterName); static String toJobIntrospectorName(String domainUid); static String toExternalServiceName(String domainUid, String serverName); static String toDns1123LegalName(String value); static boolean isDns1123Required(String fieldName); static final String DOMAIN_INTROSPECTOR_JOB_SUFFIX; static final String DNS_1123_FIELDS_PARAM; }### Answer:
@Test public void createValidServerServiceNames() throws Exception { assertThat(toServerServiceName("abc", "cls1"), equalTo("abc-cls1")); assertThat(toServerServiceName("Abc", "cLs1"), equalTo("abc-cls1")); assertThat(toServerServiceName("Abc", "cls_1"), equalTo("abc-cls-1")); }