{
Assembler a = new ContentAssembler();
Resource root = resourceInModel
( "x rdf:type ja:Content; x <property> <value>"
.replaceAll( "<property>", property ).replaceAll( "<value>", value ) );
try { a.open( root ); fail( "should trap bad content resource" ); }
catch (BadObjectException e)
{
assertEquals( resource( "x" ), e.getRoot() );
assertEquals( rdfNode( empty, value ), e.getObject() );
}