Package org.jboss.test.javabean.support

Examples of org.jboss.test.javabean.support.AmbiguityBean


      return suite(AmbiguityTestCase.class);
   }

   public void testConfigureInt() throws Exception
   {
      AmbiguityBean ab = unmarshal("TestAmbiguityInt.xml", AmbiguityBean.class);
      Object something = ab.something();
      assertEquals(something.getClass(), Integer.class);
   }
View Full Code Here


      assertEquals(something.getClass(), Integer.class);
   }

   public void testConfigureString() throws Exception
   {
      AmbiguityBean ab = unmarshal("TestAmbiguityString.xml", AmbiguityBean.class);
      Object something = ab.something();
      assertEquals(something.getClass(), String.class);
   }
View Full Code Here

      assertEquals(something.getClass(), String.class);
   }

   public void testConstructorInt() throws Exception
   {
      AmbiguityBean ab = unmarshal("TestConstructorAmbiguityInt.xml", AmbiguityBean.class);
      Object something = ab.something();
      assertEquals(something.getClass(), Integer.class);
   }
View Full Code Here

      assertEquals(something.getClass(), Integer.class);
   }

   public void testConstrutorString() throws Exception
   {
      AmbiguityBean ab = unmarshal("TestConstructorAmbiguityString.xml", AmbiguityBean.class);
      Object something = ab.something();
      assertEquals(something.getClass(), String.class);
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.javabean.support.AmbiguityBean

Copyright © 2018 www.massapicom. 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.