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