Greeter { public Greeter() { } Greeter(); void say(String name);  }
@Test() public void testGreeter() { assertNotNull(greeter); LOG.log(Level.INFO, "counter.getCount()::{0}", counter.getCount()); greeter.say("CDI 2.0"); LOG.log(Level.INFO, "counter.getCount() after called Greeter.say()::{0}", counter.getCount()); assertTrue(1 == counter.getCount()); }