    @Test(expected = AssertionError.class)
    public void testMethodNotExists() throws IOException {

        File java = getSampleDataJavaSource("SampleInterface.java");
        JavaSourceAssert.assertMethodExists(java, "public void notexists()");
    }