def METHOD_NAME(self):
    for x in [
        'foo/BarTest.java',
        'foo/BarTest.class',
        'FooTest.class',
        'TestFoo.class',
    ]:
        self.assertTrue(maven.is_file(x))
    for x in [
        'foo/Bar$Test.class',
        'foo/MyTest$Inner.class',
        'foo/Util.class',
    ]:
        self.assertFalse(maven.is_file(x))