public synchronized boolean timeout() {
    return (System.currentTimeMillis() - mLastHeartbeatMs > mSessionTimeoutMs);
  }
@Test
  public void timeout() {
    SessionInfo tSessionInfo = new SessionInfo(1, SESSION_TIMEOUT_MS);
    assertFalse(tSessionInfo.timeout());
  }