@Test
public void shouldReturnStringBasedOnSubscription() {

  // Case: default exclude should be false
  String actual1 = Store.parseSubscriptionFrom(allSubscriptions.get(2));
  Subscription sub1 = allSubscriptions.get(2);
  String expected1 = sub1.getProject() + ":" + sub1.getName() + ":" + sub1.getExclude();
  // Case: explicit setting of exclude to true
  String actual2 = Store.parseSubscriptionFrom(allSubscriptions.get(3));
  Subscription sub2 = allSubscriptions.get(3);
  String expected2 = sub2.getProject() + ":" + sub2.getName() + ":" + sub2.getExclude();
  assertThat(actual1, equalTo(expected1));
  assertThat(actual2, equalTo(expected2));
}