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