@org.junit.Test public void notifiesListenerBeforeSuite() { final TestClosure closure = context.mock(TestClosure.class); test.beforeSuite(TestUtil.toClosure(closure)); final TestDescriptor testDescriptor = context.mock(TestDescriptor.class); context.checking( new Expectations() { { one(closure).call(testDescriptor); } }); test.getTestListenerBroadcaster().getSource().beforeSuite(testDescriptor); }