@Test
void warn_location() {

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