Add missing @Nullable declarations to TestContext return values

This commit is contained in:
Sam Brannen 2019-03-02 16:36:23 +01:00
parent 8649061acc
commit f6d62eda8b
1 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,7 @@ public interface TestContext extends AttributeAccessor, Serializable {
* @return the current test instance (may be {@code null})
* @see #updateState(Object, Method, Throwable)
*/
@Nullable
Object getTestInstance();
/**
@ -75,6 +76,7 @@ public interface TestContext extends AttributeAccessor, Serializable {
* @return the current test method (may be {@code null})
* @see #updateState(Object, Method, Throwable)
*/
@Nullable
Method getTestMethod();
/**