Example #1
0
 @Test
 public void test() throws Exception {
   singletonBean.setField1("string1");
   singletonBean.setField1("string11");
 }
Example #2
0
 @Test
 public void testFirstTest() throws Exception {
   Assert.assertNotNull(singletonBean);
   Assert.assertNotNull(singletonBean.getField1());
 }
Example #3
0
 @Test
 public void cacheTest() throws Exception {
   singletonBean.setField1("a");
   singletonBean.appendToField1("b");
   Assert.assertEquals("ab", singletonBean.getField1());
 }