@Test public void sessionIdShortcutShouldReturnTheSessionIdIfSet() { when(unit.get(eq(TraceeConstants.SESSION_ID_KEY))).thenReturn("ourSessionId"); assertThat(unit.getSessionId(), is("ourSessionId")); }
@Override public String getSessionId() { return get(TraceeConstants.SESSION_ID_KEY); }
BackendBase implements TraceeBackend { @Override public String getSessionId() { return get(TraceeConstants.SESSION_ID_KEY); } }
BackendBase implements TraceeBackend { @Override public String getSessionId() { return get(TraceeConstants.SESSION_ID_KEY); }  }
BackendBase implements TraceeBackend { @Override public String getSessionId() { return get(TraceeConstants.SESSION_ID_KEY); }  @Override final TraceeFilterConfiguration getConfiguration(); @Override final TraceeFilterConfiguration getConfiguration(String profileName); @Override String getInvocationId(); @Override String getSessionId(); }
BackendBase implements TraceeBackend { @Override public String getSessionId() { return get(TraceeConstants.SESSION_ID_KEY); }  @Override final TraceeFilterConfiguration getConfiguration(); @Override final TraceeFilterConfiguration getConfiguration(String profileName); @Override String getInvocationId(); @Override String getSessionId();  }