assertEquals(JavaPackage.DEFAULT_PACKAGE_NAME + ".MyClass", javaClass.getKey());
assertEquals("MyClass", javaClass.getName());
assertThat((javaClass.getParent()).isDefault(), is(true));
}
@Test
<BUG>public void shouldResolveOnlyJavaFromAbsolutePath() throws IOException {
List<File> sources = Arrays.asList(newDir("source1"));
assertNull(JavaFile.fromAbsolutePath(absPath("source1/foo/bar/my_file.sql"), sources, false));
</BUG>
}

assertEquals(JavaPackage.DEFAULT_PACKAGE_NAME + ".MyClass", javaClass.getKey());
assertEquals("MyClass", javaClass.getName());
assertThat((javaClass.getParent()).isDefault(), is(true));
}
