" class def create():Hello = new\n" +
" def foo():Foo = Foo.create()\n" +
" val bar:Int = 19\n" +
"Hello.create().bar";
TypedAST res = (TypedAST)new Wyvern().parse(new StringReader(input), "test input");
Assert.assertEquals(res.typecheck(Globals.getStandardEnv(), Optional.empty()), Int.getInstance());
Assert.assertEquals("IntegerConstant(19)", res.evaluate(Globals.getStandardEnv()).toString());
}
@Test
public void parseSimpleClass() throws IOException, CopperParserException {