### Question:
DefaultContractsGenerator implements ContractsGenerator { @Override public boolean canProcess(String type) { return "default".equals(type); }  @Override boolean canProcess(String type); @SuppressWarnings("unchecked") @Override void configure(Map<String, Object> config); @SuppressWarnings("ResultOfMethodCallIgnored") @Override void generate();  }### Answer:
@Test public void testCanProcess() { assertTrue(new DefaultContractsGenerator().canProcess("default")); assertFalse(new DefaultContractsGenerator().canProcess("others")); }