NTv2Transform extends AbstractMathTransform implements MathTransform2D, Serializable { @Override public int getSourceDimensions() { return 2; } 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 testGetSourceDimensions() { assertEquals(transform.getSourceDimensions(), 2); }