示例#1
0
 public void testContextConstructors() throws Exception {
   BasicContextOriented co = new BasicContextOriented("newTest", new CoinjemaContext("units"));
   assertEquals("newTest", co.getInit());
   assertEquals("doobie", co.getProp("mysmoke"));
 }
示例#2
0
 public void testProperty() throws Exception {
   BasicContextOriented co = new BasicContextOriented(new CoinjemaContext("units"));
   assertEquals("doobie", co.getProp("mysmoke"));
 }