@Test public void extractLines() { LinesFromRpcResponseExtractor e = new LinesFromRpcResponseExtractor(); Assert.assertArrayEquals(new String[]{"fred", "wilma", "barney", "betty"}, e.extractData(new RpcResponse("fred\r\nwilma\r\nbarney\r\nbetty"))); }
@Override public String[] extractData(RpcResponse response) throws RpcResponseExtractionException { return response.toLines(); }
LinesFromRpcResponseExtractor implements RpcResponseExtractor<String[]> { @Override public String[] extractData(RpcResponse response) throws RpcResponseExtractionException { return response.toLines(); } }
LinesFromRpcResponseExtractor implements RpcResponseExtractor<String[]> { @Override public String[] extractData(RpcResponse response) throws RpcResponseExtractionException { return response.toLines(); }  }
LinesFromRpcResponseExtractor implements RpcResponseExtractor<String[]> { @Override public String[] extractData(RpcResponse response) throws RpcResponseExtractionException { return response.toLines(); }  @Override String[] extractData(RpcResponse response); }
LinesFromRpcResponseExtractor implements RpcResponseExtractor<String[]> { @Override public String[] extractData(RpcResponse response) throws RpcResponseExtractionException { return response.toLines(); }  @Override String[] extractData(RpcResponse response);  }