media/src/androidTest/java/androidx/media/MediaBrowser2Test.java
@Test
    public void testTestBrowserCallback() {
        prepareLooper();
        Method[] methods = TestBrowserCallback.class.getMethods();
        assertNotNull(methods);
        for (int i = 0; i < methods.length; i++) {
            // For any methods in the controller callback, TestControllerCallback should have
            // overriden the method and call matching API in the callback proxy.
            assertNotEquals("TestBrowserCallback should override " + methods[i]
                            + " and call callback proxy",
                    BrowserCallback.class, methods[i].getDeclaringClass());
        }
    }
/**
     * Test if the {@link TestBrowserCallback} wraps the callback proxy without missing any method.
     */
Test if the  TestBrowserCallback wraps the callback proxy without missing any method.
Test if the TestBrowserCallback wraps the callback proxy without missing any method .
@Test
    public void testTestBrowserCallback() {
        prepareLooper();
        Method[] methods = TestBrowserCallback.class.getMethods();
        assertNotNull(methods);
        for (int i = 0; i < methods.length; i++) {
            assertNotEquals("TestBrowserCallback should override " + methods[i]
                            + " and call callback proxy",
                    BrowserCallback.class, methods[i].getDeclaringClass());
        }
    }
@ Test public void testTestBrowserCallback ( ) { prepareLooper ( ) ; Method [ ] methods = TestBrowserCallback . class . getMethods ( ) ; assertNotNull ( methods ) ; for ( int i = 0 ; i < methods . length ; i ++ ) { assertNotEquals ( "TestBrowserCallback should override " + methods [ i ] + " and call callback proxy" , BrowserCallback . class , methods [ i ] . getDeclaringClass ( ) ) ; } }
Test if the {@link TestBrowserCallback} wraps the callback proxy without missing any method.
Test if the { @link TestBrowserCallback } wraps the callback proxy without missing any method .
// For any methods in the controller callback, TestControllerCallback should have // overriden the method and call matching API in the callback proxy.