public void testExtractPageMeta() throws RepositoryException {
assertExtract("/html/html-head-meta-extractor.html");
assertModelNotEmpty();
assertStatementsSize(null, null, null, 7);
assertContains(
new URIImpl("http://bob.example.com/"),
new URIImpl("http://purl.org/dc/elements/1.1/title"),
"XHTML+RDFa example",
"en"
);
assertContains(
new URIImpl("http://bob.example.com/"),
new URIImpl("http://purl.org/dc/elements/1.1/language"),
"en",
"en"
);
assertContains(
new URIImpl("http://bob.example.com/"),
new URIImpl("http://purl.org/dc/elements/1.1/subject"),
"XHTML+RDFa, semantic web",
"en"
);
assertContains(
new URIImpl("http://bob.example.com/"),
new URIImpl("http://purl.org/dc/elements/1.1/format"),
"application/xhtml+xml",
"en"
);
assertContains(
new URIImpl("http://bob.example.com/"),
new URIImpl("http://purl.org/dc/elements/1.1/description"),
"Example for Extensible Hypertext Markup Language + Resource Description Framework – in – attributes.",
"en"
);
assertContains(
new URIImpl("http://bob.example.com/"),
new URIImpl(vSINDICE.NAMESPACE.toString() + "robots"),
"index, follow",
"en"
);
assertContains(
new URIImpl("http://bob.example.com/"),
new URIImpl(vSINDICE.NAMESPACE.toString() + "content-language"),
"en",
"en"
);
}