src/test/java/ucar/geoapi/NetcdfTransformFactoryTest.java
@Test
    public void testProjectionCreation() throws FactoryException {
        for (final Class<? extends Projection> type : projections) {
            final String projectionName = type.getSimpleName();
            final ParameterValueGroup group = factory.getDefaultParameters(projectionName);
            final MathTransform projection = factory.createParameterizedTransform(group);
            assertInstanceOf("Expected a netCDF wrapper.", NetcdfProjection.class, projection);
            assertInstanceOf("Expected a netCDF projection.", type, ((NetcdfProjection) projection).delegate());
        }
    }
/**
     * Tests the creation of {@link NetcdfProjection} instances.
     *
     * @throws FactoryException if an error occurred while using the {@linkplain #factory}.
     */
Tests the creation of  NetcdfProjection instances.
@throws FactoryException if an error occurred while using the  #factory.
Tests the creation of NetcdfProjection instances . @throws FactoryException if an error occurred while using the #factory .
@Test
    public void testProjectionCreation() throws FactoryException {
        for (final Class<? extends Projection> type : projections) {
            final String projectionName = type.getSimpleName();
            final ParameterValueGroup group = factory.getDefaultParameters(projectionName);
            final MathTransform projection = factory.createParameterizedTransform(group);
            assertInstanceOf("Expected a netCDF wrapper.", NetcdfProjection.class, projection);
            assertInstanceOf("Expected a netCDF projection.", type, ((NetcdfProjection) projection).delegate());
        }
    }
@ Test public void testProjectionCreation ( ) throws FactoryException { for ( final Class < ? extends Projection > type : projections ) { final String projectionName = type . getSimpleName ( ) ; final ParameterValueGroup group = factory . getDefaultParameters ( projectionName ) ; final MathTransform projection = factory . createParameterizedTransform ( group ) ; assertInstanceOf ( "Expected a netCDF wrapper." , NetcdfProjection . class , projection ) ; assertInstanceOf ( "Expected a netCDF projection." , type , ( ( NetcdfProjection ) projection ) . delegate ( ) ) ; } }
Tests the creation of {@link NetcdfProjection} instances.
Tests the creation of { @link NetcdfProjection } instances .