commons-rdf/commons-rdf — pull request #42 by stain (2014-12-27 10:44:45+00:00)
Title: A bunch of unit tests and a Dummy implementation

This mainly is intended to test out if the API makes sense, and to give examples of what it can be used for on its own. I found several ambiguities that I will raise individually.

The dummy implementation is basically just some beans and a java.util.List. This uses the Java 8 Streaming APIs, so I did not attempt to back-patch everything to java6 - the `java6` profile simply ignores the whole of `src/test/java` for now.

The tests are written through two abstract classes, so that they can be reused as-is in a different implementation. The test-jar would probably be needed for that (See #40)

The only thing needed to provide is an instance of the [RDFTermFactory](https://github.com/stain/commons-rdf/blob/tests/src/test/java/com/github/commonsrdf/api/RDFTermFactory.java) - I put this in `src/test/java` for now - although it might be genuinely useful as part of the APIs. (I have not tested how easy it is to plug into this from other implementations).

There's a jewel test in there that you would enjoy if you like SPARQL...