DictRef implements java.io.Serializable, Cloneable { public String getType() { return type; } DictRef(String type, String dictRef); String getReference(); String getType(); @Override String toString();  }
@Test public void testGetType() { DictRef dictRef = new DictRef("bar:foo", "bla"); Assert.assertEquals("bar:foo", dictRef.getType()); }