private final JSCodeModel codeModel = new CodeModelImpl();
@Test
public void programsPrototype() throws IOException {
JSProgram program = codeModel.program();
JSGlobalVariable $Object = codeModel.globalVariable("Object");
JSGlobalVariable $navigator = codeModel.globalVariable("navigator");
JSGlobalVariable $window = codeModel.globalVariable("window");
JSGlobalVariable $document = codeModel.globalVariable("document");
JSObjectLiteral _Prototype = codeModel.object();
program.var("Prototype", _Prototype);
{
_Prototype.append("Version", codeModel.string("1.6.1"));
}
{