@BeforeMethod
 @Override
 void beforeMethod() throws Throwable {
   super.beforeMethod();
   state = new CandidateState(serverState);
 }
Beispiel #2
0
 @BeforeMethod
 @Override
 void beforeMethod() throws Throwable {
   super.beforeMethod();
   state = new PassiveState(serverContext);
 }