Bael 1864 (#4727)
* running project without building tests * include the DataCheck class * Update TestFail.java
This commit is contained in:
committed by
Grzegorz Piwowarek
parent
a8b0d47482
commit
d6ecd16755
@@ -0,0 +1,15 @@
|
||||
package testfail;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
|
||||
public class TestFail {
|
||||
@Test
|
||||
public void whenMessageAssigned_thenItIsNotNull() {
|
||||
String message = "hello there";
|
||||
message = null;
|
||||
assertNotNull(message);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user