Examples of UnmodifiableGetterBean


Examples of org.jboss.test.kernel.config.support.UnmodifiableGetterBean

      return (SimpleBean) instantiate(controller, bmd);
   }

   public void testUnmodifiableListPreInstantiated() throws Throwable
   {
      UnmodifiableGetterBean bean = unmodifiableListPreInstantiated();
      assertNotNull(bean);

      List<?> result = bean.getList();
      assertNotNull("Should be a list", result);

      ArrayList<Object> expected = new ArrayList<Object>();
      expected.add(string1);
      expected.add(string2);
View Full Code Here

Examples of org.jboss.test.kernel.config.support.UnmodifiableGetterBean

      return (SimpleBean) instantiate(controller, bmd);
   }

   public void testUnmodifiableSetPreInstantiated() throws Throwable
   {
      UnmodifiableGetterBean bean = unmodifiableSetPreInstantiated();
      assertNotNull(bean);

      Set<?> result = bean.getSet();
      assertNotNull("Should be a set", result);

      HashSet<Object> expected = new HashSet<Object>();
      expected.add(string1);
      expected.add(string2);
View Full Code Here

Examples of org.jboss.test.kernel.config.support.UnmodifiableGetterBean

      return (SimpleBean) instantiate(controller, bmd);
   }

   public void testUnmodifiableCollectionPreInstantiated() throws Throwable
   {
      UnmodifiableGetterBean bean = unmodifiableCollectionPreInstantiated();
      assertNotNull(bean);

      Collection<?> result = bean.getCollection();
      assertNotNull("Should be a collection", result);

      Collection<Object> expected = new ArrayList<Object>();
      expected.add(string1);
      expected.add(string2);
View Full Code Here

Examples of org.jboss.test.kernel.config.support.UnmodifiableGetterBean

      return (SimpleBean) instantiate(controller, bmd);
   }

   public void testUnmodifiableMapPreInstantiated() throws Throwable
   {
      UnmodifiableGetterBean bean = unmodifiableMapPreInstantiated();
      assertNotNull(bean);

      Map<?,?> result = bean.getMap();
      assertNotNull("Should be a map", result);

      Map<Object, Object> expected = new HashMap<Object, Object>();
      expected.put(string1, string2);
      expected.put(string2, string1);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.