InsituSource { public String[] getParameterNames() { return recordSource.getHeader().getParameterNames(); } InsituSource(RecordSource recordSource); Collection<GeoPos> getInsituPositionsFor(String parameterName); InsituRecord[] getValuesFor(String parameterName, GeoPos position); boolean hasStationNames(); String[] getParameterNames(); String getNameFor(GeoPos geoPos); void close();  }
@Test public void testGetParameterNames() throws Exception { final String[] parameterNames = insituSource.getParameterNames(); assertArrayEquals(new String[]{"CHL", "ys"}, parameterNames); }