}
@SuppressWarnings("deprecation")
public void testLoadInvalidPatternTooShort() {
try {
LoaderOptions options = new LoaderOptions();
Yaml yaml = new Yaml(options);
yaml.load(PREFIX + "Acad%9%A9mico {id: 3, name: Foo bar}");
fail("Illegal hex characters in escape (%) pattern must not be accepted.");
} catch (ScannerException e) {
assertEquals(