### Question:
StringSource implements Source { @Override public String getLocation() { return location; } 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 testGetLocation() { StringSource source = new StringSource( "Hello World!" ); assertEquals( "(memory)", source.getLocation() ); source = new StringSource( "Hello World!", "LOCATION" ); assertEquals( "LOCATION", source.getLocation() ); }