public void setupComponents() throws Exception {
endpoint = new DummyEndpoint();
endpointSocket = new InetSocketAddress("localhost", endpoint.getPort());
client = new CoapClientApplication();
clientCallback = new ClientTestCallback();
URI targetUri = new URI("coap", null, "localhost", endpoint.getPort(), "/service/path", null, null);
request = new CoapRequest(MessageType.Name.CON, MessageCode.Name.GET, targetUri);
}