    @Test
    public void testAssembleOneGraphSignature() throws Exception {

        // The Signingframework reader cannot reproduce the correct graph
        // structure, it has problems with blank nodes [] parts.
        // GraphCollection gc = TriGPlusReader.readFile(inFile);
        // create dataset that contains atom core data graph
        Dataset testDataset = TestSigningUtils.prepareTestDatasetFromNamedGraphs(RESOURCE_FILE,
                        new String[] { ATOM_CORE_DATA_URI });
        // convert to graph collection
        GraphCollection gc = ModelConverter.modelToGraphCollection(ATOM_CORE_DATA_URI, testDataset);
        // create mock signature
        SignatureData mockSigData = createMockSignature();
        gc.setSignature(mockSigData);
        // test assemble()
        WonAssembler.assemble(gc, testDataset, ATOM_CORE_DATA_SIG_URI);
        // use for debugging output
        // TestSigningUtils.writeToTempFile(testDataset);
        // extract names of the named graphs
        List<String> namesList = RdfUtils.getModelNames(testDataset);
        // do some checks to make sure there is 1 signed names graph
        Assert.assertEquals("should be one named graph with data and one named graph with signature", 2,
                        namesList.size());
        Assert.assertTrue("should be some triples in signature graph",
                        testDataset.getNamedModel(ATOM_CORE_DATA_SIG_URI).listStatements().hasNext());
        Assert.assertFalse(testDataset.getDefaultModel().listStatements().hasNext());
        int triplesCounter = TestSigningUtils
                        .countTriples(testDataset.getNamedModel(ATOM_CORE_DATA_SIG_URI).listStatements());
        Set<String> subjs = TestSigningUtils.getSubjects(testDataset.getNamedModel(ATOM_CORE_DATA_SIG_URI));
        Set<String> objs = TestSigningUtils.getUriResourceObjects(testDataset.getNamedModel(ATOM_CORE_DATA_SIG_URI));
        Assert.assertEquals("signature graph should contain 11 triples", 11, triplesCounter);
        Assert.assertTrue("signed graph name should be an object in signature triples",
                        objs.contains(ATOM_CORE_DATA_URI));
        Assert.assertTrue("signature graph name should be a subject in signature triples",
                        subjs.contains(ATOM_CORE_DATA_SIG_URI));
    }