Exemplo n.º 1
0
  @Test
  public void testUseUrlKeyboard() {
    decorator.useUrlKeyboard();

    verify(text).setData(KEYBOARD.getKey(), "url");
  }
Exemplo n.º 2
0
  @Test
  public void testUseAsciiKeyboard() {
    decorator.useAsciiKeyboard();

    verify(text).setData(KEYBOARD.getKey(), "ascii");
  }
Exemplo n.º 3
0
  @Test
  public void testUseNumbersAndPunctuationKeyboard() {
    decorator.useNumbersAndPunctuationKeyboard();

    verify(text).setData(KEYBOARD.getKey(), "numbersAndPunctuation");
  }
Exemplo n.º 4
0
  @Test
  public void testUsePhoneKeyboard() {
    decorator.usePhoneKeyboard();

    verify(text).setData(KEYBOARD.getKey(), "phone");
  }