@Test
void checkMalformed_warn() {

    parser.checkMalformed(Malformed.class, Malformed.class.getAnnotation(Permission.class));
    
    verify(environment, times(2)).warn(Malformed.class, "\"a b\" may be malformed");
    verify(environment).warn(Malformed.class, "\"ce!\" may be malformed");
}