SubscriptionHandle handle2 = new SubscriptionHandle(_user, SubscriptionType.NON_PERSISTENT, requestedSpecification, listener);
assertFalse(handle1.equals(handle2));
}
public void hashCodeDifferentRequestedSpecification() {
LiveDataSpecification requestedSpecification =
new LiveDataSpecification(
"NormalizationId1",
ExternalId.of("Domain1", "Value1"));
CollectingLiveDataListener listener = new CollectingLiveDataListener();
SubscriptionHandle handle1 = new SubscriptionHandle(_user, SubscriptionType.NON_PERSISTENT, requestedSpecification, listener);
SubscriptionHandle handle2 = new SubscriptionHandle(_user, SubscriptionType.NON_PERSISTENT, requestedSpecification, listener);