ActionMapKey { @Override public int hashCode() { final String forHash = actionName.toString() + bindingParameterTypeName.toString() + isBindingParameterCollection.toString(); return forHash.hashCode(); } ActionMapKey(final FullQualifiedName actionName, final FullQualifiedName bindingParameterTypeName,
      final Boolean isBindingParameterCollection); @Override int hashCode(); @Override boolean equals(final Object obj);  }
@Test public void testHashMethod() { ActionMapKey key; ActionMapKey someKey; key = new ActionMapKey(fqn, fqnType, false); someKey = new ActionMapKey(fqn, fqnType, false); assertEquals(key.hashCode(), someKey.hashCode()); key = new ActionMapKey(fqn, fqnType, new Boolean(false)); someKey = new ActionMapKey(fqn, fqnType, false); assertEquals(key.hashCode(), someKey.hashCode()); key = new ActionMapKey(fqn, fqnType, true); someKey = new ActionMapKey(fqn, fqnType, false); assertNotSame(key.hashCode(), someKey.hashCode()); key = new ActionMapKey(fqn, fqnType, true); someKey = new ActionMapKey(fqn, fqnType, new Boolean(false)); assertNotSame(key.hashCode(), someKey.hashCode()); }