*/
@Test(groups = TestGroup.UNIT)
public class LiveDataSubscriptionResponseTest {
public void simpleConstruction() {
LiveDataSpecification lds = new LiveDataSpecification("Foo", ExternalId.of("A", "B"));
LiveDataSubscriptionResponse ldsr = new LiveDataSubscriptionResponse(lds,
LiveDataSubscriptionResult.SUCCESS,
null,
lds,
null,
null);
assertEquals("Foo", lds.getNormalizationRuleSetId());
assertEquals(ExternalIdBundle.of("A", "B"), lds.getIdentifiers());
assertEquals(LiveDataSubscriptionResult.SUCCESS, ldsr.getSubscriptionResult());
assertEquals(lds, ldsr.getRequestedSpecification());
}