Created
December 13, 2016 11:53
-
-
Save mirkosertic/a96e406fcc1ccc941a4592311e64445a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import lombok.NonNull; | |
import org.junit.Test; | |
public class LombokNativeTest { | |
public class LombokNative { | |
private final String value; | |
public LombokNative(@NonNull String value) { | |
this.value = value; | |
} | |
} | |
@Test(expected = NullPointerException.class) | |
public void testCreate() { | |
new LombokNative(null); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment