Writing Contract Tests in Java differently

I think you're better off using JUnit's theories for this sort of thing.