@Test
public void testInvalidDirectionFromDegree() {

  TextInstructions textInstructions = new TextInstructions("en", "v5");
  thrown.expect(RuntimeException.class);
  thrown.expectMessage(startsWith("Degree is invalid: 361"));
  assertEquals("", textInstructions.directionFromDegree(361.));
}