@Test public void testToString() { if (!System.getProperty("java.version").startsWith("1.")) { assertEquals(ServiceTypes.serviceType("qu\"ote").toString(), quoteServiceType.toString()); } assertEquals(ServiceTypes.serviceType("apple").toString(), appleServiceType.toString()); }
@Deprecated public static ServiceType serviceType(String type) { return new ServiceTypeImpl(type); }
ServiceTypes { @Deprecated public static ServiceType serviceType(String type) { return new ServiceTypeImpl(type); } }
ServiceTypes { @Deprecated public static ServiceType serviceType(String type) { return new ServiceTypeImpl(type); } private  ServiceTypes(); }
ServiceTypes { @Deprecated public static ServiceType serviceType(String type) { return new ServiceTypeImpl(type); } private  ServiceTypes(); @Deprecated static ServiceType serviceType(String type); }
ServiceTypes { @Deprecated public static ServiceType serviceType(String type) { return new ServiceTypeImpl(type); } private  ServiceTypes(); @Deprecated static ServiceType serviceType(String type);  }