latch.await(5, TimeUnit.SECONDS);
assertEquals(Collections.singletonList("ab"), requests);
}
public void testCLS() throws Exception {
Controller controller = create(new BaseShell(new BaseProcessFactory() {
@Override
public BaseProcess create(String request) {
return new BaseProcess(request) {
@Override
public void process(String request, ShellProcessContext processContext) throws IOException {