@Override
  protected boolean isStepCompleted(@NonNull Context context) {
    return SetupSupport.isThisKeyboardEnabled(context);
  }
@Test
  public void testKeyboardNotEnabled() {
    WizardPageEnableKeyboardFragment fragment = startFragment();
    Assert.assertFalse(fragment.isStepCompleted(getApplicationContext()));

    ImageView stateIcon = fragment.getView().findViewById(R.id.step_state_icon);
    Assert.assertNotNull(stateIcon);

    Assert.assertEquals(
        R.drawable.ic_wizard_enabled_off,
        Shadows.shadowOf(stateIcon.getDrawable()).getCreatedFromResId());
    Assert.assertTrue(stateIcon.isClickable());

    View.OnClickListener stateIconClickHandler = Shadows.shadowOf(stateIcon).getOnClickListener();
    View.OnClickListener linkClickHandler =
        Shadows.shadowOf(
                (View) fragment.getView().findViewById(R.id.go_to_language_settings_action))
            .getOnClickListener();

    Assert.assertNotNull(stateIconClickHandler);
    Assert.assertSame(stateIconClickHandler, linkClickHandler);
  }