How would I assertThat something is null?
assertThat
null
for example
assertThat(attr.getValue(), is(\"\"));
But I get an e
If you want to hamcrest, you can do
hamcrest
import static org.hamcrest.Matchers.nullValue; assertThat(attr.getValue(), is(nullValue()));
In Junit you can do
Junit
import static junit.framework.Assert.assertNull; assertNull(object);