I dont have to say very much. The following code sample prints "null", but i expect it to print "test". What is worg here?
import org.junit.BeforeClass;
import org.junit.jupiter.api.Test;
class AcceptanceTest {
private String test;
@BeforeClass
public void setup() {
test = "test";
}
@Test
void test() {
System.out.println(test);
}
}