SchemeValuePair { @Override public String toString() { return ReflectionToStringBuilder.reflectionToString(this); } SchemeValuePair(String scheme, String value);  SchemeValuePair(String value); static void allowNullScheme(String... classNames); static void mapBehavior(String className, SchemeValueBehavior behavior); static void setSchemeURIAlias(String canonicalURI, String aliasURI); String getScheme(); String getValue(); @Override boolean equals(Object o); boolean isComparableSVPSubclass(Object o); boolean matches(SchemeValuePair svp); boolean matches(String scheme, String value); boolean areNullSchemesAllowed(); @Override String toString();  }
@Test public void testToString() { AgencyId agencyId = new AgencyId("Some Scheme", "Some Value"); Assert.assertNotNull("AgencyId.toString() should not return null.", agencyId.toString()); }