Session<Void> session = mock(Session.class);
String sessionId = "session";
String route = "route";
String routingSessionId = "session.route";
when(this.manager.createSessionId()).thenReturn(sessionId);
<BUG>when(this.manager.findSession(sessionId)).thenReturn(null);
</BUG>
when(this.manager.createSession(sessionId)).thenReturn(session);
when(this.manager.locate(sessionId)).thenReturn(route);
when(this.manager.getBatcher()).thenReturn(batcher);

Session<Void> session = mock(Session.class);
String sessionId = "session";
String route = "route";
String routingSessionId = "session.route";
when(this.manager.createSessionId()).thenReturn(sessionId);
when(this.manager.containsSession(sessionId)).thenReturn(false);
when(this.manager.createSession(sessionId)).thenReturn(session);
when(this.manager.locate(sessionId)).thenReturn(route);
when(this.manager.getBatcher()).thenReturn(batcher);
