@Override
    public boolean isMatchedWithFilter(SAPropertyFilter filter) {
        EventType type = filter.getType();
        return type.isTrack();
    }
@Test
    public void isMatchedWithFilter() {
        SensorsDataAPI sensorsDataAPI = SAHelper.initSensors(mApplication);
        SAPresetPropertyPlugin presetPropertyPlugin = new SAPresetPropertyPlugin(sensorsDataAPI.getSAContextManager());
        SAPropertyFilter saPropertyFilter = new SAPropertyFilter();
        saPropertyFilter.setType(EventType.ITEM_SET);
        Assert.assertFalse(presetPropertyPlugin.isMatchedWithFilter(saPropertyFilter));
        saPropertyFilter.setType(EventType.TRACK);
        Assert.assertTrue(presetPropertyPlugin.isMatchedWithFilter(saPropertyFilter));
    }