### Question:
SensorNames { public static String getDimensionNameX(String sensorName) { return getBasename(sensorName) + ".nx"; } 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 testGetDimensionNameX() throws Exception { assertEquals("avhrr.nx", SensorNames.getDimensionNameX("avhrr.n10")); assertEquals("avhrr.nx", SensorNames.getDimensionNameX("avhrr.n11")); assertEquals("avhrr.nx", SensorNames.getDimensionNameX("avhrr.n12")); assertEquals("avhrr_f.nx", SensorNames.getDimensionNameX("avhrr_f.m01")); assertEquals("avhrr_f.nx", SensorNames.getDimensionNameX("avhrr_f.m02")); assertEquals("amsr2.nx", SensorNames.getDimensionNameX("amsr2")); }