Examples of DerivedTestObject


Examples of org.springframework.tests.sample.objects.DerivedTestObject

        ClassUtils.addResourcePathToPackagePath(Proxy.class, "a/b/c/d.xml"));
  }

  @Test
  public void testGetAllInterfaces() {
    DerivedTestObject testBean = new DerivedTestObject();
    List ifcs = Arrays.asList(ClassUtils.getAllInterfaces(testBean));
    assertEquals("Correct number of interfaces", 4, ifcs.size());
    assertTrue("Contains Serializable", ifcs.contains(Serializable.class));
    assertTrue("Contains ITestBean", ifcs.contains(ITestObject.class));
    assertTrue("Contains IOther", ifcs.contains(ITestInterface.class));
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.