@Test public void testWarnUser() throws Exception { context.checking(new Expectations() { { one(container).warnUser("message"); } }); object.warnUser("message"); context.assertIsSatisfied(); }
@Test public void testWarnUser() throws Exception { context.checking(new Expectations() { { one(container).warnUser("message"); } }); object.warnUser("message"); context.assertIsSatisfied(); }