@Test public void testMissingJAFileThrowsException()
{
Model af = modelWithStatements( "" );
TestFileInsertion.FakeFileManager fm = new TestFileInsertion.FakeFileManager( "af.ttl", af );
FileLoader fl = new FileLoader( fm );
try
{
fl.load( "ja:my:root@doesNotExist" );
fail( "should throw NotFoundException" );
}
catch (NotFoundException e)
{
assertEquals( "doesNotExist", e.getMessage() );