assertEquals(LiveDataSubscriptionResult.NOT_PRESENT, subscribe.getSubscriptionResult());
}
@Test(expectedExceptions = Throwable.class)
public void failingSubscriptionsDontStopWorking() {
LiveDataSpecification specWorking = new LiveDataSpecification("No Normalization", ExternalId.of(_domainC, "X"));
LiveDataSpecification specFailed = new LiveDataSpecification("No Normalization", ExternalId.of(_domainD, "X"));
LiveDataSubscriptionResponseMsg subscriptionRequestMade = _combiningServer.subscriptionRequestMade(new LiveDataSubscriptionRequest(UserPrincipal.getLocalUser(), SubscriptionType.NON_PERSISTENT, Lists.newArrayList(specWorking, specFailed)));
assertEquals(2, subscriptionRequestMade.getResponses().size());
for (LiveDataSubscriptionResponse response : subscriptionRequestMade.getResponses()) {
if (response.getRequestedSpecification().equals(specWorking)) {