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:
Sam Brannen 2016-03-02 20:19:25 +01:00
parent 50bcd67fb6
commit 067994712d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}