@Override
    public void properties(SAPropertiesFetcher fetcher) {
        if (mCustomProperties != null) {
            JSONUtils.mergeJSONObject(mCustomProperties, fetcher.getProperties());
            mCustomProperties = null;
        }
    }
@Test
    public void properties() {
        InternalCustomPropertyPlugin customPropertyPlugin = new InternalCustomPropertyPlugin();
        JSONObject libProperty = new JSONObject();
        try {
            libProperty.put("custom", "customAndroid");
        } catch (JSONException e) {
            e.printStackTrace();
        }
        customPropertyPlugin.saveCustom(libProperty);
        JSONObject property = new JSONObject();
        SAPropertiesFetcher propertiesFetcher = new SAPropertiesFetcher();
        propertiesFetcher.setProperties(property);
        customPropertyPlugin.properties(propertiesFetcher);
        Assert.assertEquals("customAndroid", property.optString("custom"));
    }