mockery.assertIsSatisfied();
}
public void testJavaScriptObjectIsNotIgnored() {
final StatisticsEvent event = mockery.mock(StatisticsEvent.class);
mockery.checking(new Expectations() {{
oneOf(event).getSubSystem(); will(returnValue("error"));
oneOf(event).getEventGroupKey(); will(returnValue("error"));
oneOf(event).getExtraParameter("type"); will(returnValue("error"));
oneOf(event).getExtraParameter("error"); will(returnValue(new ExceptionData() {}));