Package org.springmodules.javaspaces

Examples of org.springmodules.javaspaces.MethodIdentifier


import junit.framework.TestCase;

public class MethodIdentifierTests extends TestCase {

  public void testSerializeMethodIdentifier() throws Exception {
    MethodIdentifier mi = new MethodIdentifier(Object.class.getMethod("hashCode", null));
    MethodIdentifier mi2 = (MethodIdentifier) SerializationTestUtils.serializeAndDeserialize(mi);
    assertNotSame(mi, mi2);
    assertEquals(mi.getMethod(), mi2.getMethod());
  }
View Full Code Here

TOP

Related Classes of org.springmodules.javaspaces.MethodIdentifier

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.