util: fix corner case NPE in
@@ -126,8 +126,10 @@ public class GuicyKillbillTestSuite {
log.info("*** Starting test {}:{}", method.getDeclaringClass().getName(), method.getName());
log.info("***************************************************************************************************");
+ if (internalCallContext != null) {
internalCallContext.reset();
}
+ }
@AfterMethod(alwaysRun = true)
public void afterMethodAlwaysRun(final Method method, final ITestResult result) throws Exception {
