public void callLogout() {
        call("logout", null);
    }
@Test
    public void callLogout() {
        SensorsDataAPI sensorsDataAPI = SAHelper.initSensors(mApplication);
        sensorsDataAPI.addFunctionListener(new SAFunctionListener() {
            @Override
            public void call(String function, JSONObject args) {
                Assert.assertEquals("logout", function);
            }
        });
        sensorsDataAPI.logout();
    }