### Question:
LocalId { public LocalId(String localId) throws IllegalArgumentException { if(localId != null) { setLocalId(localId); } else { setLocalId(""); } } LocalId(String localId); String getLocalId(); boolean setLocalId(String localId); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testLocalId() throws Exception { LocalId l1 = new LocalId(""); assertTrue(l1 instanceof LocalId); LocalId l2 = new LocalId("195mg90a39v"); assertTrue(l2 instanceof LocalId); }