public void callResetAnonymousId(String newDistinctId) {
        JSONObject jsonObject = new JSONObject();
        try {
            jsonObject.put("distinctId", newDistinctId);
            call("resetAnonymousId", jsonObject);
        } catch (Exception e) {
            SALog.printStackTrace(e);
        }
    }
@Test
    public void callResetAnonymousId() {
        SensorsDataAPI sensorsDataAPI = SAHelper.initSensors(mApplication);
        sensorsDataAPI.addFunctionListener(new SAFunctionListener() {
            @Override
            public void call(String function, JSONObject args) {
                Assert.assertTrue(true);
            }
        });
        sensorsDataAPI.resetAnonymousId();
    }