public void testCannotResolveImport() throws Exception {
URLLessContext context = new URLLessContext(LesserTestCase.class.getClassLoader().getResource("lesser/test/"));
Failure failure = (Failure)lesser.compile(context, "cannotresolveimport.less");
LinkedList<LessError> errors = failure.getErrors();
Assert.assertEquals(1, errors.size());
LessError error = errors.get(0);
Assert.assertEquals(1, error.line);
Assert.assertEquals(4, error.column);
Assert.assertEquals(4, error.index);
Assert.assertEquals(Collections.emptyList(), Arrays.asList(error.extract));
Assert.assertEquals("Parse", error.type);