@Test public void handlesEnrichmentTagType_DoesNotHandle() { assertFalse(defaultEnrichmentTagApplier.handlesEnrichmentTagType("XXX")); verifyZeroInteractions(enrichmentTagValueConverter, jsonStringParser, judgmentUpdater); }
@Override public boolean handlesEnrichmentTagType(String enrichmentTagType) { return handledEnrichmentTagType.equals(enrichmentTagType); }
DefaultEnrichmentTagApplier implements EnrichmentTagApplier { @Override public boolean handlesEnrichmentTagType(String enrichmentTagType) { return handledEnrichmentTagType.equals(enrichmentTagType); } }
DefaultEnrichmentTagApplier implements EnrichmentTagApplier { @Override public boolean handlesEnrichmentTagType(String enrichmentTagType) { return handledEnrichmentTagType.equals(enrichmentTagType); } DefaultEnrichmentTagApplier(String handledEnrichmentTagType); }
DefaultEnrichmentTagApplier implements EnrichmentTagApplier { @Override public boolean handlesEnrichmentTagType(String enrichmentTagType) { return handledEnrichmentTagType.equals(enrichmentTagType); } DefaultEnrichmentTagApplier(String handledEnrichmentTagType); @Override void applyEnrichmentTag(Judgment judgment, EnrichmentTag enrichmentTag); @Override boolean handlesEnrichmentTagType(String enrichmentTagType); void setJsonStringParser(JsonStringParser<TAG_VALUE> jsonStringParser); void setEnrichmentTagValueConverter(EnrichmentTagValueConverter<TAG_VALUE, MODEL_OBJECT> enrichmentTagValueConverter); void setJudgmentUpdater(JudgmentUpdater<MODEL_OBJECT> judgmentUpdater); }
DefaultEnrichmentTagApplier implements EnrichmentTagApplier { @Override public boolean handlesEnrichmentTagType(String enrichmentTagType) { return handledEnrichmentTagType.equals(enrichmentTagType); } DefaultEnrichmentTagApplier(String handledEnrichmentTagType); @Override void applyEnrichmentTag(Judgment judgment, EnrichmentTag enrichmentTag); @Override boolean handlesEnrichmentTagType(String enrichmentTagType); void setJsonStringParser(JsonStringParser<TAG_VALUE> jsonStringParser); void setEnrichmentTagValueConverter(EnrichmentTagValueConverter<TAG_VALUE, MODEL_OBJECT> enrichmentTagValueConverter); void setJudgmentUpdater(JudgmentUpdater<MODEL_OBJECT> judgmentUpdater);  }