diff --git a/framework/src/play-test/src/test/java/play/test/WithApplicationTest.java b/framework/src/play-test/src/test/java/play/test/WithApplicationTest.java
index <HASH>..<HASH> 100644
--- a/framework/src/play-test/src/test/java/play/test/WithApplicationTest.java
+++ b/framework/src/play-test/src/test/java/play/test/WithApplicationTest.java
@@ -22,6 +22,6 @@ public class WithApplicationTest extends WithApplication {
     public void withApplicationShouldCleanUpApplication() {
         stopPlay();
         assertNull(app);
-        assertTrue(play.api.Play.privateMaybeApplication().isEmpty());
+        assertTrue(play.api.Play.maybeApplication().isEmpty());
     }
 }
Change privateMaybeApplication to maybeApplication