@Test public void testSubscriptions() { for (int i = 0; i < 3; i++) { final AdblockSettings settings = buildModel(i, 1); assertEquals(i, settings.getSubscriptions().size()); } }
public List<Subscription> getSubscriptions() { return subscriptions; }
AdblockSettings implements Serializable { public List<Subscription> getSubscriptions() { return subscriptions; } }
AdblockSettings implements Serializable { public List<Subscription> getSubscriptions() { return subscriptions; }  }
AdblockSettings implements Serializable { public List<Subscription> getSubscriptions() { return subscriptions; }  boolean isAdblockEnabled(); void setAdblockEnabled(boolean adblockEnabled); boolean isAcceptableAdsEnabled(); void setAcceptableAdsEnabled(boolean acceptableAdsEnabled); List<Subscription> getSubscriptions(); void setSubscriptions(List<Subscription> subscriptions); List<String> getWhitelistedDomains(); void setWhitelistedDomains(List<String> whitelistedDomains); ConnectionType getAllowedConnectionType(); void setAllowedConnectionType(ConnectionType allowedConnectionType); @Override String toString(); }
AdblockSettings implements Serializable { public List<Subscription> getSubscriptions() { return subscriptions; }  boolean isAdblockEnabled(); void setAdblockEnabled(boolean adblockEnabled); boolean isAcceptableAdsEnabled(); void setAcceptableAdsEnabled(boolean acceptableAdsEnabled); List<Subscription> getSubscriptions(); void setSubscriptions(List<Subscription> subscriptions); List<String> getWhitelistedDomains(); void setWhitelistedDomains(List<String> whitelistedDomains); ConnectionType getAllowedConnectionType(); void setAllowedConnectionType(ConnectionType allowedConnectionType); @Override String toString();  }