    @Test
    public void testGetErrors_Filtered() {


        final String[] expectedErrors = {
                "java.lang.IllegalStateException: Classes annotated with @Contract (class org.xenei.junit.bad.BadNoInject) must include a @Contract.Inject annotation on a public non-abstract declared setter method", };

        final ClassPathFilter filter = new NotClassFilter(
                new OrClassFilter( new NameClassFilter( "org.xenei.junit.contract.exampleTests.CImpl3" ),
                        new NameClassFilter( "org.xenei.junit.contract.exampleTests.DTImplSuite$ForceA" ),
                        new NameClassFilter( BadAbstract.class.getName() ) ) );

        interfaceReport = new InterfaceReport( badPackages, filter, classLoader );

        final List<String> errors = new ArrayList<String>();
        for (final Throwable t : interfaceReport.getErrors()) {
            errors.add( t.toString() );
        }

        for (final String expectedError : expectedErrors) {
            assertTrue( "missing: " + expectedError, errors.contains( expectedError ) );
        }

        Assert.assertEquals( 2, errors.size() );
    }