public long getSessionId() {
    return mSessionId;
  }
@Test(expected = RuntimeException.class)
  public void constructorWithException() {
    for (int k = 0; k >= -1000; k -= DELTA) {
      SessionInfo tSessionInfo = new SessionInfo(k, SESSION_TIMEOUT_MS);
      assertEquals(k, tSessionInfo.getSessionId());
      fail("SessionId " + k + " should be invalid.");
    }
  }