Files
JUnit_Tutorials/beforeeach/output/07-beforeeach-fails.txt
T

11 lines
520 B
Plaintext

@BeforeEach (about to fail)
@AfterEach, resource is null
@BeforeEach (about to fail)
@AfterEach, resource is null
-- results --
FAILED a() IllegalStateException: setup failed
suppressed NullPointerException: Cannot invoke "java.lang.AutoCloseable.close()" because "this.resource" is null
FAILED b() IllegalStateException: setup failed
suppressed NullPointerException: Cannot invoke "java.lang.AutoCloseable.close()" because "this.resource" is null
SUCCESSFUL Fixtures$BeforeEachFails