@Override
        public void onMessageChannelReady(final Bundle extras)
                throws RemoteException {
            TestCustomTabsCallback.this.onMessageChannelReady(extras);
        }
A test class to check the incoming messages through {@link CustomTabsCallback}.
customtabs/tests/src/android/support/customtabs/TestCustomTabsCallback.java