PAddOn extends PObject { public String getSignature() { return getClass().getCanonicalName(); } protected  PAddOn(); protected  PAddOn(final JsonObject args); boolean attach(final PWindow window); @Override boolean attach(final PWindow window, final PFrame frame); String getSignature(); void setLogLevel(final Level logLevel); void destroy();  }
@Test public void testSignature() { final PAddOn widget = new TestPAddOn(Json.createObjectBuilder().build()); assertEquals(TestPAddOn.class.getCanonicalName(), widget.getSignature()); }