@Before public void setup() throws Exception { subject = getSpec(ContextClasses.NestedCleanup.innerContext.class, "asserts"); ContextClasses.NestedEstablish.setEventListener(events::add); subject.run(notifier); }
@After public void releaseSpy() { ContextClasses.NestedEstablish.setEventListener(null); }