lambdora-service/src/test/java/org/fcrepo/lambdora/service/db/DynamoDBResourceTripleDaoTest.java
/**
     * Tests finding triples based on resource name (uri)
     */
Tests finding triples based on resource name (uri)
Tests finding triples based on resource name ( uri )
@Test
    public void testFindByResourceName() {
        final List<ResourceTriple> resultList =
            resourceTripleDao.findByResourceName(resource1);
        assertEquals(2, resultList.size());
        for (ResourceTriple triple : resultList) {
            assertEquals(resource1, triple.getResourceName());
        }
    }
@ Test public void testFindByResourceName ( ) { final List < ResourceTriple > resultList = resourceTripleDao . findByResourceName ( resource1 ) ; assertEquals ( 2 , resultList . size ( ) ) ; for ( ResourceTriple triple : resultList ) { assertEquals ( resource1 , triple . getResourceName ( ) ) ; } }
Tests finding triples based on resource name (uri)
Tests finding triples based on resource name ( uri )