public boolean shouldShow(@Nullable Keyboard.Key pressedKey) {
    return pressedKey != null && shouldShow(pressedKey.getPrimaryCode());
  }
@Test
  public void testHandlesNullKey() {
    final OnKeyWordHelper helper = new OnKeyWordHelper("test".toCharArray());
    Assert.assertFalse(helper.shouldShow(null));
  }