Package org.jboss.test.annotation.factory.support

Examples of org.jboss.test.annotation.factory.support.ComplexWithDefault.array()


      assertEquals(123, complex.integer());
      assertEquals(true, complex.bool());
      assertEquals(String.class, complex.clazz());
      assertEquals(MyEnum.ONE, complex.enumVal());
      assertEquals("default", complex.annotation().value());
      assertEquals(new String[]{"The", "defaults"}, complex.array());

      int[] expectedIntArray = new int[] {1,2,3};
      int[] actualIntArray = complex.intArray();
      assertEquals(expectedIntArray.length, actualIntArray.length);
      for (int i = 0 ; i < expectedIntArray.length ; i++)
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.