@Test public void testHandlePutReturnsOK() { String key = "a"; String value = "yay"; assertEquals(SiriusResult.some("ok"), underTest.handlePut(key, value.getBytes())); }
@Override public SiriusResult handlePut(String key, byte[] body) { RefAppState.repository.put(key, new String(body)); return SiriusResult.some(OK); }
DefaultRequestHandler implements RequestHandler { @Override public SiriusResult handlePut(String key, byte[] body) { RefAppState.repository.put(key, new String(body)); return SiriusResult.some(OK); } }
DefaultRequestHandler implements RequestHandler { @Override public SiriusResult handlePut(String key, byte[] body) { RefAppState.repository.put(key, new String(body)); return SiriusResult.some(OK); }  }
DefaultRequestHandler implements RequestHandler { @Override public SiriusResult handlePut(String key, byte[] body) { RefAppState.repository.put(key, new String(body)); return SiriusResult.some(OK); }  @Override SiriusResult handleGet(String key); @Override SiriusResult handlePut(String key, byte[] body); @Override SiriusResult handleDelete(String key); }
DefaultRequestHandler implements RequestHandler { @Override public SiriusResult handlePut(String key, byte[] body) { RefAppState.repository.put(key, new String(body)); return SiriusResult.some(OK); }  @Override SiriusResult handleGet(String key); @Override SiriusResult handlePut(String key, byte[] body); @Override SiriusResult handleDelete(String key);  }