### Question:
ScopePathImpl implements ScopePath { @Override public List<Scope> getScopes() { return Collections.unmodifiableList(scopes); } ScopePathImpl(final List<Scope> scopes); @Override List<Scope> getScopes(); @Override Scope getRootScope(); @Override Scope getLastScope(); @Override ScopePath getParentPath(); @Override Scope findScopeByName(final String name); @Override boolean startsPathWith(final ScopePath other); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString();  }### Answer:
@Test public void testGetScopes() { final ScopePath testScopePath = createTestScopePath(); Assert.assertEquals(2, testScopePath.getScopes().size()); }