@Test
public void setAudibleMode() {

    AudibleSettings settings = new AudibleSettings();
    settings.load(new SharedPreferencesMock());
    settings.setAudibleMode("glide_ratio");
    assertFalse(settings.isEnabled);
    assertTrue(settings.airplaneMode);
    assertEquals("Glide Ratio", settings.mode.name);
    assertEquals(0.0, settings.min, 0.001);
    assertEquals(4.0, settings.max, 0.001);
}