### Question:
Addresses { public static String toServiceAddress(String namespace) { if(namespace == null) throw new IllegalArgumentException("namespace may not be null"); String prefix = getPrefixForNamespace(namespace); return prefix + namespace + ":"; }  static String toServiceAddress(String namespace); static String toObjectAddress(String namespace, String id); static String getId(@Nullable String addressOrId);  }### Answer:
@Test public void testToServiceAddress() { assertEquals("SERV:person:", Addresses.toServiceAddress("person")); assertEquals("DRIV:dev:", Addresses.toServiceAddress("dev")); }