### Question:
StringSource implements Source { public String getContent() { return content; } StringSource( CharSequence content );  StringSource( CharSequence content, String location ); @Override InputStream getInputStream(); @Override String getLocation(); String getContent(); @Override String toString(); @Override int hashCode(); @Override boolean equals( Object obj );  }### Answer:
@Test public void testGetContent() { StringSource source = new StringSource( null ); assertEquals( "", source.getContent() ); source = new StringSource( "Hello World!", "LOCATION" ); assertEquals( "Hello World!", source.getContent() ); }