@Test public void testComplainsWhenFixtureIntantiationFails() { tables = parse("[" + InterpreterExpectingAFixture.class.getName() + "][NonExistingFixture]"); execute(document()); Assertions.assertAnnotatedException(tables.at(0, 0, 0)); }
@Test public void testComplainsIfInterpreterCannotBeLoaded() { tables = parse("[NotAnInterpreter]\n" + "[1][2][3]"); execute(document()); Assertions.assertAnnotatedException(tables.at(0, 0, 0)); }