Collection collection = getCollection();
	public void testCreateResource() throws XMLDBException {	    { // XML resource:	        Resource resource = collection.createResource("testresource", "XMLResource");		    assertNotNull(resource);		    assertEquals(collection, resource.getParentCollection());		    resource.setContent("<?xml version='1.0'?><xml/>");		    collection.storeResource(resource);	    }	    { // binary resource:	        Resource resource = collection.createResource("testresource", "BinaryResource");		    assertNotNull(resource);		    assertEquals(collection, resource.getParentCollection());		    resource.setContent("some random binary data here :-)");		    collection.storeResource(resource);	    }	}