public void testAnnotatedSingleton() throws Exception { BasicContextOriented co1 = new BasicContextOriented(); assertEquals("Root Value", co1.getMyMainValue()); assertEquals("Other Root", co1.getMyOtherMainValue()); }