src/test/java/ucar/geoapi/NetcdfCRSTest.java
private void assertNameEquals(final String expected, final IdentifiedObject object) {
        final ReferenceIdentifier name = object.getName();
        assertNotNull("IdentifiedObject.name", name);
        assertEquals("Code space", "netCDF", name.getCodeSpace());
        assertEquals("Code value", expected, name.getCode());
    }
/**
     * Asserts that the a name or identifier of the given identified object is equals to the given value.
     * This method verifies that the {@linkplain IdentifiedObject#getName() name} has the following properties:
     *
     * <ul>
     *   <li>The {@linkplain Identifier#getCodeSpace() code space} is {@code "netCDF"}.</li>
     *   <li>The {@linkplain Identifier#getCode() code} is the given expected value.</li>
     * </ul>
     *
     * Subclasses shall override this method if the netCDF name is stored elsewhere
     * (as an {@linkplain IdentifiedObject#getIdentifiers() identifier} or an
     * {@linkplain IdentifiedObject#getAlias() alias}), or if they use a different
     * code value.
     *
     * @param expected  the expected code value.
     * @param object    the identified object to verify.
     */
Asserts that the a name or identifier of the given identified object is equals to the given value.
This method verifies that the  IdentifiedObject#getName() name has the following properties.


The  Identifier#getCodeSpace() code space is  "netCDF".
The  Identifier#getCode() code is the given expected value.


Subclasses shall override this method if the netCDF name is stored elsewhere
(as an  IdentifiedObject#getIdentifiers() identifier or an
IdentifiedObject#getAlias() alias), or if they use a different
code value.

@param expected  the expected code value.
@param object    the identified object to verify.
Asserts that the a name or identifier of the given identified object is equals to the given value . This method verifies that the IdentifiedObject#getName () name has the following properties . The Identifier#getCodeSpace () code space is " netCDF " . The Identifier#getCode () code is the given expected value . Subclasses shall override this method if the netCDF name is stored elsewhere ( as an IdentifiedObject#getIdentifiers () identifier or an IdentifiedObject#getAlias () alias ) or if they use a different code value . @param expected the expected code value . @param object the identified object to verify .
private void assertNameEquals(final String expected, final IdentifiedObject object) {
        final ReferenceIdentifier name = object.getName();
        assertNotNull("IdentifiedObject.name", name);
        assertEquals("Code space", "netCDF", name.getCodeSpace());
        assertEquals("Code value", expected, name.getCode());
    }
private void assertNameEquals ( final String expected , final IdentifiedObject object ) { final ReferenceIdentifier name = object . getName ( ) ; assertNotNull ( "IdentifiedObject.name" , name ) ; assertEquals ( "Code space" , "netCDF" , name . getCodeSpace ( ) ) ; assertEquals ( "Code value" , expected , name . getCode ( ) ) ; }
Asserts that the a name or identifier of the given identified object is equals to the given value.
Asserts that the a name or identifier of the given identified object is equals to the given value .