specFactory.getGadgetSpec(createContext(SPEC_URL, true));
}
@Test(expected = SpecParserException.class)
public void negativeCachingEnforced() throws Exception {
specFactory.cache.addElement(SPEC_URL.toString(), new SpecParserException("broken"), 1000);
specFactory.getGadgetSpec(createContext(SPEC_URL, false));
}