### Question:
SensorNames { public static String getDimensionNameY(String sensorName) { return getBasename(sensorName) + ".ny"; } private  SensorNames(); static String getOrbitName(String sensorName); static String getStandardName(String sensorName); static String getBasename(String sensorName); static String getDimensionNameX(String sensorName); static String getDimensionNameY(String sensorName); static boolean isOrbitName(String sensorName); static boolean isStandardName(String sensorName);  }### Answer:
@Test public void testGetDimensionNameY() throws Exception { assertEquals("avhrr.ny", SensorNames.getDimensionNameY("avhrr.n10")); assertEquals("avhrr.ny", SensorNames.getDimensionNameY("avhrr.n11")); assertEquals("avhrr.ny", SensorNames.getDimensionNameY("avhrr.n12")); assertEquals("avhrr_f.ny", SensorNames.getDimensionNameY("avhrr_f.m01")); assertEquals("avhrr_f.ny", SensorNames.getDimensionNameY("avhrr_f.m02")); assertEquals("amsr2.ny", SensorNames.getDimensionNameY("amsr2")); }