### Question:
MongoStore extends StoreBase { @Override public Session load(String id) throws ClassNotFoundException, IOException { StandardSession session = null; Container container = manager.getContainer(); ClassLoader managerContextLoader = Thread.currentThread().getContextClassLoader(); ClassLoader appContextLoader = null; BasicDBObject sessionQuery = new BasicDBObject(); sessionQuery.put("_id", id); sessionQuery.put(appContextProperty, this.getName()); DBObject mongoSession = this.collection.findOne(sessionQuery); if (mongoSession != null) { byte[] data = (byte[])mongoSession.get(sessionDataProperty); if (data != null) { BufferedInputStream bis = null; ObjectInputStream ois = null; try { bis = new BufferedInputStream(new ByteArrayInputStream(data)); Loader loader = null; if (container != null) { loader = container.getLoader(); if (loader != null) { appContextLoader = loader.getClassLoader(); Thread.currentThread().setContextClassLoader(appContextLoader); ois = new CustomObjectInputStream(bis, appContextLoader); } else { ois = new ObjectInputStream(bis); } } session = (StandardSession)this.manager.createEmptySession(); session.readObjectData(ois); session.setManager(this.manager); } finally { if (ois != null) { try { ois.close(); ois = null; } catch (Exception e) {} } if (bis != null) { try { bis.close(); bis = null; } catch (Exception e) {} } Thread.currentThread().setContextClassLoader(managerContextLoader); } } } return session; }  @Override int getSize(); @Override String[] keys(); @Override Session load(String id); @Override void remove(String id); @Override void clear(); @Override void save(Session session); @Override String getStoreName(); String getConnectionUri(); void setConnectionUri(String connectionUri); String getHosts(); void setHosts(String hosts); String getDbName(); void setDbName(String dbName); String getCollectionName(); void setCollectionName(String collectionName); String getUsername(); void setUsername(String username); String getPassword(); void setPassword(String password); int getConnectionTimeoutMs(); void setConnectionTimeoutMs(int connectionTimeoutMs); int getConnectionWaitTimeoutMs(); void setConnectionWaitTimeoutMs(int connectionWaitTimeoutMs); int getMinPoolSize(); void setMinPoolSize(int minPoolSize); int getMaxPoolSize(); void setMaxPoolSize(int maxPoolSize); String getReplicaSet(); void setReplicaSet(String replicaSet); boolean isUseSecureConnection(); void setUseSecureConnection(boolean useSecureConnection); boolean isUseSlaves(); void setUseSlaves(boolean useSlaves); WriteConcern getWriteConcern(); void setWriteConcern(WriteConcern writeConcern); int getTimeToLive(); void setTimeToLive(int timeToLive);  }### Answer:
@Test public void testLoadNotFound() throws Exception { Session session = this.mongoStore.load("0000000000"); assertNull(session); }