### Question:
NcGetVerticalProfile extends AbstractRequest implements NcGetVerticalProfileRequest { protected NcGetVerticalProfile(final String serverURL) { super(serverURL); } protected  NcGetVerticalProfile(final String serverURL); @Override String getLayer(); @Override void setLayer(final String name); @Override String getCrs(); @Override void setCrs(final String crsCode); @Override String getPoint(); @Override void setPoint(final String point); @Override String getFormat(); @Override void setFormat(final String format); @Override String getTime(); @Override void setTime(final String time);  }### Answer:
@Test public void testNcGetVerticalProfile() { final NcGetVerticalProfile request = new NcGetVerticalProfile("http: request.setLayer("test"); request.setCrs("CRS:84"); request.setPoint("24%25"); request.setFormat("image/png"); request.setTime("01-01-01T01:00:00Z"); final URL url; try { url = request.getURL(); } catch (MalformedURLException ex) { fail(ex.getLocalizedMessage()); return; } final String sUrl = url.toString(); assertTrue(sUrl.contains("REQUEST=GetVerticalProfile")); assertTrue(sUrl.contains("LAYER=test")); assertTrue(sUrl.contains("CRS=CRS%3A84")); assertTrue(sUrl.contains("TIME=01-01-01T01%3A00%3A00Z")); assertTrue(sUrl.contains("POINT=24%25")); assertTrue(sUrl.contains("FORMAT=image%2Fpng")); }