use of android.text.method.ArrowKeyMovementMethod in project robolectric by robolectric.
the class ShadowTextViewTest method testMovementMethod.
@Test
public void testMovementMethod() {
MovementMethod movement = new ArrowKeyMovementMethod();
assertNull(textView.getMovementMethod());
textView.setMovementMethod(movement);
assertThat(textView.getMovementMethod()).isSameAs(movement);
}
Aggregations