}
@Test
public void testGetSessionByKey_MoreSessions_OneClosed_FailureMode() {
this.locator.setFailureMode(true);
MockSession session1 = new MockSession(8080);
MockSession session2 = new MockSession(8081);
session1.close();
MockSession session3 = new MockSession(8082);
List<Session> list = new ArrayList<Session>();
list.add(session1);
list.add(session2);
list.add(session3);
this.locator.updateSessions(list);