### Question:
Grid { public static AbstractTestSession getTestSession() { return threadTestSession.get(); } private  Grid(); static ThreadLocal<RemoteWebDriver> getThreadLocalWebDriver(); static ThreadLocal<AbstractTestSession> getThreadLocalTestSession(); @Deprecated /** * @deprecated in SeLion 1.2.0. Do not use. No alternative */ static ThreadLocal<Exception> getThreadLocalException(); static long getExecutionTimeoutValue(); static RemoteWebDriver driver(); static AbstractTestSession getTestSession(); static MobileTestSession getMobileTestSession(); static WebTestSession getWebTestSession(); static void open(String url); static RemoteNodeInformation getRemoteNodeInfo(String hostName, int port, SessionId session);  }### Answer:
@WebTest @Test(groups = "functional") public void testGetTestSession() { assertNotNull(Grid.getTestSession(), "verify that the test session returned is not null"); }