@Override
  public void runBeforeClass(TestContext testContext) {
    Class<?> testClass = testContext.getClazz();

    Sync sync = AnnotationLocator.locate(testClass, Sync.class);

    classSyncHandler.setSync(sync);
    classSyncHandler.setForceSync(ProxyModeThreadLocal.isForceSync());

    classSyncHandler.enableSync();
  }
  @Override
  public void runBeforeTest(TestContext testContext) {
    Method method = testContext.getMethod();
    Class<?> testClass = testContext.getClazz();

    Sync sync = AnnotationLocator.locate(method, testClass, Sync.class);

    methodSyncHandler.setForceSync(ProxyModeThreadLocal.isForceSync());
    methodSyncHandler.setSync(sync);

    methodSyncHandler.enableSync();
  }