private RESTServer server;
private HttpRESTHandler<MemoryType> handler;
@Before
public void setUp() {
mc = new MemoryConnector();
handler = new HttpRESTHandler<MemoryType>(new CachingDocumentNIO<MemoryType>(mc, new NoopCache<MemoryType>()), mc.getPipelineReader(), null, false);
server = RESTServer.getNewStartedRESTServer(20000, handler);
}