/*
 * Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com>
 */
package play.test;

import org.junit.Test;
import play.Play;

import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;

public class WithApplicationTest extends WithApplication {

    @Test
    public void withApplicationShouldProvideAnApplication() {
        assertNotNull(app);
        assertTrue(play.api.Play.maybeApplication().nonEmpty());
    }

    @Test
    public void withApplicationShouldCleanUpApplication() {
        stopPlay();
        assertNull(app);
        assertTrue(play.api.Play.privateMaybeApplication().isEmpty());
    }
}

@@ -646,16 +646,9 @@
 lay.
-privateM
+m
 aybe

Change privateMaybeApplication to maybeApplication