@Test(expected = NullPointerException.class) public void addFieldPrefix_valueNull_prefixNotNull() { fieldValuePrefixAdder.addFieldPrefix(null, "prefix"); }
public String addFieldPrefix(String prefix, String fieldValue) { Preconditions.checkNotNull(fieldValue); Preconditions.checkNotNull(prefix); return prefixWithSeparator(prefix) + fieldValue; }
FieldValuePrefixAdder { public String addFieldPrefix(String prefix, String fieldValue) { Preconditions.checkNotNull(fieldValue); Preconditions.checkNotNull(prefix); return prefixWithSeparator(prefix) + fieldValue; } }
FieldValuePrefixAdder { public String addFieldPrefix(String prefix, String fieldValue) { Preconditions.checkNotNull(fieldValue); Preconditions.checkNotNull(prefix); return prefixWithSeparator(prefix) + fieldValue; }  }
FieldValuePrefixAdder { public String addFieldPrefix(String prefix, String fieldValue) { Preconditions.checkNotNull(fieldValue); Preconditions.checkNotNull(prefix); return prefixWithSeparator(prefix) + fieldValue; }  String addFieldPrefix(String prefix, String fieldValue); String prefixWithSeparator(String fieldValuePrefix); String extractFieldValue(String valueWithPrefix); }
FieldValuePrefixAdder { public String addFieldPrefix(String prefix, String fieldValue) { Preconditions.checkNotNull(fieldValue); Preconditions.checkNotNull(prefix); return prefixWithSeparator(prefix) + fieldValue; }  String addFieldPrefix(String prefix, String fieldValue); String prefixWithSeparator(String fieldValuePrefix); String extractFieldValue(String valueWithPrefix);  }