Fixed broken code in test classes (missing imports, undefined variables).

This commit is contained in:
2019-07-30 19:39:16 +02:00
parent b84a781134
commit 5048c898ec
30 changed files with 56 additions and 28 deletions
@@ -1,6 +1,7 @@
import java.util.Optional;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.fail;
public class Java8Optional {
@@ -46,7 +47,7 @@ public class Java8Optional {
assertThat(opt.orElse(null)).as("foo").isEqualTo(null).isNotNull();
org.junit.Assert.assertThat(foo, null);
org.junit.Assert.assertThat(opt, null);
fail("oh no!");
}
}