	@Test
	public void numberTwoTest() throws WebApplicationException, IOException {

		
		log.log(Level.INFO, "Testing weird empty string resources.");

		Node[][] triples = new Node[][]{{new Resource(""), RDF.TYPE, RDFS.CLASS}};
	
		RdfXmlMessageBodyWriter rxmbr = new RdfXmlMessageBodyWriter();
		
		rxmbr.uriinfo = new UriInfo() {

			@Override
			public String getPath() {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
			public String getPath(boolean decode) {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
			public List<PathSegment> getPathSegments() {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
			public List<PathSegment> getPathSegments(boolean decode) {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
			public URI getRequestUri() {
				return URI.create("http://webserver.i-vision.local:8080/roest/sim/whatever");
			}

			@Override
			public UriBuilder getRequestUriBuilder() {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
			public URI getAbsolutePath() {
				return URI.create("http://webserver.i-vision.local:8080/roest/sim/whatever");
			}

			@Override
			public UriBuilder getAbsolutePathBuilder() {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
			public URI getBaseUri() {
				return URI.create("http://webserver.i-vision.local:8080/roest/");
			}

			@Override
			public UriBuilder getBaseUriBuilder() {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
			public MultivaluedMap<String, String> getPathParameters() {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
			public MultivaluedMap<String, String> getPathParameters(boolean decode) {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
			public MultivaluedMap<String, String> getQueryParameters() {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
			public MultivaluedMap<String, String> getQueryParameters(boolean decode) {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
			public List<String> getMatchedURIs() {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
			public List<String> getMatchedURIs(boolean decode) {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
			public List<Object> getMatchedResources() {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
		    public URI resolve(URI uri) {
		        return UriTemplate.resolve(getBaseUri(), uri);
		    }

		    @Override
		    public URI relativize(URI uri) {
		        if (!uri.isAbsolute()) {
		            uri = resolve(uri);
		        }

		        return UriTemplate.relativize(getRequestUri(), uri);
		    }
			
		
		};
		
		final Resource emptyStringResource = new Resource("");
		
		Resource requestResource = new Resource("<" + rxmbr.uriinfo.getAbsolutePath().toString() + ">", true);
		for (Node[] nx : triples) {
			if (emptyStringResource.equals(nx[0]))
				nx[0] = requestResource;
		}
		
		rxmbr.writeTo(Arrays.asList(triples), null, null, null, null, null, System.out);

	}