@Test
void check_constructor() {

    parser.check(Constructor.class);
    verify(environment).error(Constructor.class, quote(Constructor.class.getName()) + " is not a valid main class, should not contain a constructor with parameters");
}