### Question:
DefaultMethodFilter implements MethodFilter { @Override public boolean use(DexMethod data) { if (mMinMethodOpcodeCount > 0) { if (data.getOpcodes().size() <= mMinMethodOpcodeCount) return false; } return true; }  @Override void init(Config config); @Override boolean use(DexMethod data); static final String KEY_MIN_OPCODES; }### Answer:
@Test public void testDefaultMethodFilter() throws BadConfigException, IOException { Config config = getXmlConfig("/default-method-filter.xml"); DefaultMethodFilter filter = config.getComponentAndInit(DefaultMethodFilter.class); assertNotNull(filter); assertFalse(filter.use(getMethod(0))); assertFalse(filter.use(getMethod(8))); assertFalse(filter.use(getMethod(1))); assertFalse(filter.use(getMethod(10))); assertTrue(filter.use(getMethod(22))); assertTrue(filter.use(getMethod(14123))); }