@Test
    void testInvalidResource() {
        commonTranslationTestHelper.setup(CommonTranslationTestHelper.FEED_NAME,
                CommonTranslationTestHelper.INVALID_RESOURCE_NAME);

        final List<ProcessorResult> results = commonTranslationTestHelper.processAll();
        assertThat(results).hasSize(N4);

        // Make sure no records were written.
        assertThat((results.get(N3)).getWritten()).isZero();
    }
Tests Task with an invalid resource and valid feed.

@throws IOException Could be thrown.
stroom-app/src/test/java/stroom/pipeline/task/TestTranslationTask.java