@Test
public void testGetOrbitName() throws Exception {

    String sensorName;
    sensorName = "orb_atsr.1";
    assertSame(sensorName, SensorNames.getOrbitName(sensorName));
    sensorName = "orb_atsr.2";
    assertSame(sensorName, SensorNames.getOrbitName(sensorName));
    sensorName = "orb_atsr.3";
    assertSame(sensorName, SensorNames.getOrbitName(sensorName));
    assertEquals("orb_atsr.1", SensorNames.getOrbitName("atsr.1"));
    assertEquals("orb_atsr.2", SensorNames.getOrbitName("atsr.2"));
    assertEquals("orb_atsr.3", SensorNames.getOrbitName("atsr.3"));
    assertEquals("orb_avhrr.n10", SensorNames.getOrbitName("avhrr.n10"));
    assertEquals("orb_avhrr.m01", SensorNames.getOrbitName("avhrr.m01"));
    assertEquals("orb_avhrr.m02", SensorNames.getOrbitName("avhrr.m02"));
    assertEquals("orb_avhrr_f.m01", SensorNames.getOrbitName("avhrr_f.m01"));
    assertEquals("orb_avhrr_f.m02", SensorNames.getOrbitName("avhrr_f.m02"));
    assertEquals("orb_amsr2", SensorNames.getOrbitName("amsr2"));
    try {
        SensorNames.getOrbitName("aai");
        fail();
    } catch (IllegalArgumentException expected) {
        //
    }
    try {
        SensorNames.getOrbitName("seaice");
        fail();
    } catch (IllegalArgumentException expected) {
        //
    }
}