NTv2Transform extends AbstractMathTransform implements MathTransform2D, Serializable { @Override public ParameterValueGroup getParameterValues() { final ParameterValue<URI> file = new Parameter<URI>(Provider.FILE); file.setValue(grid); return new ParameterGroup(Provider.PARAMETERS, new ParameterValue[] { file } ); } NTv2Transform(URI file); @Override int hashCode(); @Override boolean equals(final Object object); @Override synchronized MathTransform2D inverse(); @Override void transform(double[] srcPts, int srcOff, double[] dstPts,
            int dstOff, int numPts); void inverseTransform(double[] srcPts, int srcOff, double[] dstPts,
            int dstOff, int numPts); @Override int getSourceDimensions(); @Override int getTargetDimensions(); @Override ParameterValueGroup getParameterValues();  }
@Test public void testGetParameterValues() { ParameterValueGroup pvg = transform.getParameterValues(); assertEquals(pvg.getDescriptor(), NTv2Transform.Provider.PARAMETERS); assertEquals(pvg.values().size(), 1); Object value = pvg.parameter("8656").getValue(); assertTrue(value instanceof URI); assertEquals(value.toString(), TEST_GRID); value = pvg.parameter("Latitude and longitude difference file").getValue(); assertTrue(value instanceof URI); assertEquals(value.toString(), TEST_GRID); }