    @Test
    public void testAsStringWithBNode() throws TemplateModelException {


        Resource resource = ModelFactory.createDefaultModel().createResource();
        ResourceHashModel resourceHashModel = new ResourceHashModel(resource);

        assertEquals("Unexpected URI", ResourceHashModel.INVALID_URL,
                resourceHashModel.getAsString());
    }