testHasState() {
    assertFalse(
        'Control must not be disabled',
        control.hasState(Component.State.DISABLED));
    assertFalse(
        'Control must not be in the HOVER state',
        control.hasState(Component.State.HOVER));
    assertFalse(
        'Control must not be active', control.hasState(Component.State.ACTIVE));
    assertFalse(
        'Control must not be selected',
        control.hasState(Component.State.SELECTED));
    assertFalse(
        'Control must not be checked',
        control.hasState(Component.State.CHECKED));
    assertFalse(
        'Control must not be focused',
        control.hasState(Component.State.FOCUSED));
    assertFalse(
        'Control must not be open', control.hasState(Component.State.OPEN));
  }
Tests {@link Control#hasState}.
@suppress {checkTypes} suppression added
     to enable type checking