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