예제 #1
0
 public void testNested() throws Exception {
   BasicContextOriented co = new BasicContextOriented(new CoinjemaContext("custom"));
   assertEquals("A Test String", co.getSimple().getCircular().getTest());
   assertEquals("test string", co.getSimple().getTest());
   assertEquals(
       co.getMyService(), co.getSimple().getCircular().getCircular().getCircular().getService());
 }