@Test
void error_location() {

    environment.error(Object.class, "error");
    
    assertEquals(new SimpleEntry<>(Object.class, "error"), environment.errors.get(0));
    assertTrue(environment.warnings.isEmpty());
}