public void testAnalyseNotLiteral() throws Exception {
analyser = new ConstantClaimAnalyser(reporter, PREDICATE, OBJECT, false);
MockDocument document = new MockDocument();
analyser.analyse(document);
assertEquals("One claim per document", 1, reporter.claims.size());
Claim claim = reporter.getClaim(0);
assertEquals("Subject is name", document.name, claim.subject);
assertEquals("Object is constant", OBJECT, claim.object);
assertEquals("Predicate is constant", PREDICATE, claim.predicate);
assertFalse("Constantly not literal", claim.isLiteral);
document.name = "A New Name";