@Override
public void setupComponents() throws Exception {
client = new CoapClientApplication();
clientCallback = new ClientTestCallback();
server = new CoapServerApplication();
service = new ObservableTestWebservice("/test", 1, 0, server.getExecutor());
server.registerService(service);
serverSocket = new InetSocketAddress("localhost", server.getPort());
serviceUri = new URI("coap", null, "localhost", -1, "/test", null, null);