@Override
    public void setModuleState(boolean enable) {
        if (mEnable != enable) {
            mEnable = enable;
        }
    }
@Test
    public void setModuleState() {
        SAHelper.initSensors(mApplication);
        SAEncryptProtocolImpl encryptProtocol = new SAEncryptProtocolImpl();
        encryptProtocol.install(SensorsDataAPI.sharedInstance(mApplication).getSAContextManager());
        Assert.assertTrue(encryptProtocol.isEnable());
        encryptProtocol.setModuleState(false);
        Assert.assertFalse(encryptProtocol.isEnable());
    }