@Test
    public void testParseInvalidValue() {
        try {
            FAVORITE_FISH.parseValue("anchovy");
            fail("Invalid EnumGuacamoleProperty values should fail to parse with an exception.");
        }
        catch (GuacamoleException e) {
            String message = e.getMessage();
            assertTrue(message.contains("\"mackerel\", \"salmon\", \"sardine\", \"trout\", \"tuna\", \"yellowfin\""));
        }
    }
Verifies that GuacamoleException is thrown when attempting to parse an
invalid value, and that the error message contains a sorted list of all
allowed values.
guacamole-ext/src/test/java/org/apache/guacamole/properties/EnumGuacamolePropertyTest.java