protected void setUp() throws Exception {
ccFactory = new CollectionReaderFactory_impl();
}
public void testInvalidFrameworkImplementation() {
CollectionReaderDescription desc = new CollectionReaderDescription_impl();
desc.setFrameworkImplementation("foo");
try {
ccFactory.produceResource(CollectionReader.class, desc, Collections.EMPTY_MAP);
fail();
} catch (ResourceInitializationException e) {
assertNotNull(e.getMessage());