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