@Test public void testCanProcess() { assertTrue(new DefaultContractsGenerator().canProcess("default")); assertFalse(new DefaultContractsGenerator().canProcess("others")); }
@Override public boolean canProcess(String type) { return "default".equals(type); }
DefaultContractsGenerator implements ContractsGenerator { @Override public boolean canProcess(String type) { return "default".equals(type); } }
DefaultContractsGenerator implements ContractsGenerator { @Override public boolean canProcess(String type) { return "default".equals(type); }  }
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(); }
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();  }