@Override
public void afterTestMethod(TestContext testContext) throws Exception {
Object spyAttribute = getAttribute(testContext, SPY_ATTRIBUTE_NAME);
removeAttribute(testContext, SPY_ATTRIBUTE_NAME);
} catch (SniffyAssertionError sniffyError) {
Throwable throwable = getTestException(testContext);
if (null != throwable) {
if (!ExceptionUtil.addSuppressed(throwable, sniffyError)) {
Object disableSockets = getAttribute(testContext, DISABLE_SOCKETS_ATTRIBUTE_NAME);
removeAttribute(testContext, DISABLE_SOCKETS_ATTRIBUTE_NAME);