@PrepareForTest(ClassInsideJavaPackage.class)
public class MockClassesInsideJavaPackage {
@Test
public void allowsMockingOfClassesInsidePackageContainingJava() {
ClassInsideJavaPackage mock = createMock(ClassInsideJavaPackage.class);
expect(mock.mockMe()).andReturn("mocked");
replayAll();
assertEquals("mocked", mock.mockMe());
verifyAll();
}