@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());
}