Lines Matching refs:treasure
99 Map<String, Dice> treasure = new HashMap<String, Dice>();
100 treasure.put("treasure", new Dice(10, 20));
101 String output = yaml.dump(treasure);
102 assertEquals("{treasure: 10d20}\n", output);
116 Map<String, Dice> treasure = new HashMap<String, Dice>();
117 treasure.put("treasure", new Dice(10, 20));
118 String output = yaml.dump(treasure);
119 assertEquals("{treasure: 10d20}\n", output);
127 public Dice treasure;
137 if (treasure != null ? !treasure.equals(diceBean.treasure) : diceBean.treasure != null)
144 return treasure != null ? treasure.hashCode() : 0;
154 bean.treasure = new Dice(10, 20);
156 assertEquals("!!examples.DiceExampleTest$DiceBean {treasure: 10d20}\n", output);