### Question:
HeaderValuesImpl implements HeaderValues { @Override public String getUserAgent() { return myUserAgent; } HeaderValuesImpl(String rendererIdentifier); @Override String getAccept(); @Override String getEncoding(); @Override String getUserAgent(); @Override String getZippedEncoding();  }### Answer:
@Test public void testGetUserAgent() { final String expected = "OpenSphere Desktop (ver: 5.1 Deployment)(user/Linux/2.6.32-504.8.1.el6.x86_64/amd64/1.7.0_17/Quadro NVS 450/PCIe/SSE2)"; final HeaderValuesImpl headerValues = new HeaderValuesImpl(RENDER_IDENTIFIER); final String actual = headerValues.getUserAgent(); assertEquals(expected, actual); }