@Test(expected = NullPointerException.class) public void convert_NULL() { moneyAmountTagValueConverter.convert(null); }
@Override public MoneyAmount convert(MoneyAmountTagValue tagValue) { Preconditions.checkNotNull(tagValue); MoneyAmount moneyAmount = new MoneyAmount(); moneyAmount.setAmount(tagValue.getAmount()); moneyAmount.setText(tagValue.getText()); moneyAmount.markGenerated(); return moneyAmount; }
MoneyAmountTagValueConverter implements EnrichmentTagValueConverter<MoneyAmountTagValue, MoneyAmount> { @Override public MoneyAmount convert(MoneyAmountTagValue tagValue) { Preconditions.checkNotNull(tagValue); MoneyAmount moneyAmount = new MoneyAmount(); moneyAmount.setAmount(tagValue.getAmount()); moneyAmount.setText(tagValue.getText()); moneyAmount.markGenerated(); return moneyAmount; } }
MoneyAmountTagValueConverter implements EnrichmentTagValueConverter<MoneyAmountTagValue, MoneyAmount> { @Override public MoneyAmount convert(MoneyAmountTagValue tagValue) { Preconditions.checkNotNull(tagValue); MoneyAmount moneyAmount = new MoneyAmount(); moneyAmount.setAmount(tagValue.getAmount()); moneyAmount.setText(tagValue.getText()); moneyAmount.markGenerated(); return moneyAmount; }  }
MoneyAmountTagValueConverter implements EnrichmentTagValueConverter<MoneyAmountTagValue, MoneyAmount> { @Override public MoneyAmount convert(MoneyAmountTagValue tagValue) { Preconditions.checkNotNull(tagValue); MoneyAmount moneyAmount = new MoneyAmount(); moneyAmount.setAmount(tagValue.getAmount()); moneyAmount.setText(tagValue.getText()); moneyAmount.markGenerated(); return moneyAmount; }  @Override MoneyAmount convert(MoneyAmountTagValue tagValue); }
MoneyAmountTagValueConverter implements EnrichmentTagValueConverter<MoneyAmountTagValue, MoneyAmount> { @Override public MoneyAmount convert(MoneyAmountTagValue tagValue) { Preconditions.checkNotNull(tagValue); MoneyAmount moneyAmount = new MoneyAmount(); moneyAmount.setAmount(tagValue.getAmount()); moneyAmount.setText(tagValue.getText()); moneyAmount.markGenerated(); return moneyAmount; }  @Override MoneyAmount convert(MoneyAmountTagValue tagValue);  }