lambdora-service/src/test/java/org/fcrepo/lambdora/service/db/DynamoDBResourceTripleDaoTest.java
/**
     * Tests finding an triples based on rdf object
     */
Tests finding an triples based on rdf object
Tests finding an triples based on rdf object
@Test
    public void testFindByObject() {
        final List<ResourceTriple> resultList =
            resourceTripleDao.findByObject(t1a[2]);
        assertEquals(2, resultList.size());
        for (ResourceTriple triple : resultList) {
            assertEquals(t1a[2], triple.getRdfObject());
        }
    }
@ Test public void testFindByObject ( ) { final List < ResourceTriple > resultList = resourceTripleDao . findByObject ( t1a [ 2 ] ) ; assertEquals ( 2 , resultList . size ( ) ) ; for ( ResourceTriple triple : resultList ) { assertEquals ( t1a [ 2 ] , triple . getRdfObject ( ) ) ; } }
Tests finding an triples based on rdf object
Tests finding an triples based on rdf object