ScriptableObject board = api.createBoard();
assertEquals(32, board.get("size"));
assertEquals(null, board.get("id"));
GameEngine ge = new GameEngine(new String[] {
"/com/antonytrupe/tend/Resource.js",
"/com/antonytrupe/tend/ResourceGroup.js",
"/com/antonytrupe/tend/Point.js",
"/com/antonytrupe/tend/Board.js",
"/com/antonytrupe/tend/Player.js",
"/com/antonytrupe/tend/Trade.js",
"/com/antonytrupe/tend/Settlement.js" });
ge.invoke(board, "update", new String[] { "{\"board\":"
+ "{\"id\":1,\"players\":{}}" + "}" });
assertEquals(1, board.get("id"));
}