### Question:
DynamicSessionIDExtensions implements SessionIDExtensions { @Override public String getSiteID() { SessionIDCorrector corrector = query.getSessionIDCorrector(); if (corrector == null) { return delegate.getSiteID(); } return corrector.translateSiteID(delegate.getPrimaryID(), delegate.getSiteID()); } @VisibleForTesting  DynamicSessionIDExtensions(WebtopNamingQuery query, SessionIDExtensions delegate);  DynamicSessionIDExtensions(SessionIDExtensions delegate); @Override String getPrimaryID(); @Override String getSiteID(); @Override String getStorageKey(); @Override String get(String key); @Override void add(String key, String value); @Override Map<String, String> asMap(); @Override String toString();  }### Answer:
@Test public void shouldUseSessionIDCorrectorForSiteID() { dynamic.getSiteID(); verify(mockCorrector).translateSiteID(nullable(String.class), nullable(String.class)); }
@Test public void shouldUseSessionIDCorrectorForSiteID() { dynamic.getSiteID(); verify(mockCorrector).translateSiteID(anyString(), anyString()); }