@Test
public void parseOrientations() throws Exception {

    OrientationOptions options = OrientationOptions.parse(create("default", "landscape", "portrait"));
    assertThat(options.orientations.get(0)).isEqualTo(Orientation.Default);
    assertThat(options.orientations.get(1)).isEqualTo(Orientation.Landscape);
    assertThat(options.orientations.get(2)).isEqualTo(Orientation.Portrait);
}