AxisMapping { public int getInsituCount() { return getDataSourceCount(insituMap); }  List<String> getInsituNames(String alias); List<String> getRasterNames(String alias); void addRasterName(String alias, String rasterName); void addInsituName(String alias, String insituName); void removeAlias(String alias); void addAlias(String alias); void removeInsituName(String alias, String insituName); void removeRasterName(String alias, String rasterName); Set<String> getAliasNames(); void replaceAlias(String beforeName, String changedName); String getRasterAlias(String rasterName); String getInsituAlias(String insituName); void addAxisMappingListener(AxisMappingListener axisMappingListener); int getRasterCount(); int getInsituCount();  }
@Test public void testGetInsituCount() throws Exception { final int insituCount = axisMapping.getInsituCount(); axisMapping.addInsituName("alias", "insitu1"); axisMapping.addInsituName("alias", "insitu2"); axisMapping.addInsituName("alias1", "insitu1_1"); axisMapping.addInsituName("alias1", "insitu2"); final int insituCount2 = axisMapping.getInsituCount(); assertEquals(0, insituCount); assertEquals(4, insituCount2); }