Skip to content

Instantly share code, notes, and snippets.

View hospino11's full-sized avatar

Hansel Junior Ospino Orellano hospino11

View GitHub Profile
@arosini
arosini / ModelTests.java
Last active January 19, 2021 23:10
JUnit test for 100% code coverage of Lombok's @DaTa annotation
import com.google.common.reflect.ClassPath;
import javassist.CannotCompileException;
import javassist.ClassPool;
import javassist.CtClass;
import javassist.CtConstructor;
import javassist.CtMethod;
import javassist.CtNewConstructor;
import javassist.CtNewMethod;
import javassist.NotFoundException;
import nl.jqno.equalsverifier.EqualsVerifier;