Make TestContextManager.getTestContext() public
This commit changes the visibility of the getTestContext() method in TestContextManager from 'protected' to 'public' in order to support test method injection in JUnit 5 and similar use cases. Issue: SPR-14011
This commit is contained in:
parent
50bcd67fb6
commit
067994712d
|
@ -124,7 +124,7 @@ public class TestContextManager {
|
|||
/**
|
||||
* Get the {@link TestContext} managed by this {@code TestContextManager}.
|
||||
*/
|
||||
protected final TestContext getTestContext() {
|
||||
public final TestContext getTestContext() {
|
||||
return this.testContext;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue