示例#1
0
  @Test
  public void testUseUrlKeyboard() {
    decorator.useUrlKeyboard();

    verify(text).setData(KEYBOARD.getKey(), "url");
  }
示例#2
0
  @Test
  public void testUseAsciiKeyboard() {
    decorator.useAsciiKeyboard();

    verify(text).setData(KEYBOARD.getKey(), "ascii");
  }
示例#3
0
  @Test
  public void testUseNumbersAndPunctuationKeyboard() {
    decorator.useNumbersAndPunctuationKeyboard();

    verify(text).setData(KEYBOARD.getKey(), "numbersAndPunctuation");
  }
示例#4
0
  @Test
  public void testUsePhoneKeyboard() {
    decorator.usePhoneKeyboard();

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