ClientDescription { public final String getType() { return type; } protected  ClientDescription(String type); final String getType(); @Override boolean equals(Object other); @Override int hashCode(); abstract R accept(ClientDescriptionVisitor<P,R> visitor, P param);  }
@Test public final void testGetType() { DummyClientDescription clientDesc = new DummyClientDescription("type_0x00"); Assert.assertEquals(clientDesc.getType(), "type_0x00"); }