### Question:
ScopeNotificationFilterPreference implements NotificationFilterPreference { public EntityReference getScopeReference() { return scopeReference; } ScopeNotificationFilterPreference(NotificationFilterPreference filterPreference,
            EntityReferenceResolver<String> entityReferenceResolver); void setHasParent(boolean hasParent); boolean hasParent(); List<ScopeNotificationFilterPreference> getChildren(); void addChild(ScopeNotificationFilterPreference child); boolean isParentOf(ScopeNotificationFilterPreference other); EntityReference getScopeReference(); @Override String getId(); @Override String getFilterName(); @Override String getProviderHint(); @Override boolean isEnabled(); @Override boolean isActive(); @Override NotificationFilterType getFilterType(); @Override Set<NotificationFormat> getNotificationFormats(); @Override Date getStartingDate(); @Override Set<String> getEventTypes(); @Override String getUser(); @Override String getPageOnly(); @Override String getPage(); @Override String getWiki(); @Override void setEnabled(boolean enabled); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void getScopeReference() throws Exception { assertEquals(sp1.getScopeReference(), WIKI_REFERENCE); assertEquals(sp2.getScopeReference(), SPACE_REFERENCE); assertEquals(sp3.getScopeReference(), DOCUMENT_REFERENCE); }