Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@javax.persistence.Entity mocking broken #369

Closed
Milbor-zz opened this issue Dec 6, 2016 · 2 comments
Closed

@javax.persistence.Entity mocking broken #369

Milbor-zz opened this issue Dec 6, 2016 · 2 comments

Comments

@Milbor-zz
Copy link

1.29
java.lang.IllegalArgumentException: Invalid mocking of @Entity-annotated class
was fine before

public class SpikeTest {
    @Injectable
    private Codebook codebook;

    @javax.persistence.Entity
    public static class Codebook {
    }

    @Test
    public void test() throws Exception {
    }
}
@Milbor-zz
Copy link
Author

Duplicate of what? I don't see any linked issue.

@rliesenfeld
Copy link
Member

Fixed together with changes for #326.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants