Searched refs:mockEditableFactory (Results 1 – 1 of 1) sorted by relevance
1399 final Editable.Factory mockEditableFactory = spy(new Editable.Factory()); in testSetEditableFactory() local1400 doCallRealMethod().when(mockEditableFactory).newEditable(any(CharSequence.class)); in testSetEditableFactory()1401 mTextView.setEditableFactory(mockEditableFactory); in testSetEditableFactory()1404 verify(mockEditableFactory, never()).newEditable(any(CharSequence.class)); in testSetEditableFactory()1406 reset(mockEditableFactory); in testSetEditableFactory()1408 verify(mockEditableFactory, never()).newEditable(any(CharSequence.class)); in testSetEditableFactory()1410 reset(mockEditableFactory); in testSetEditableFactory()1412 verify(mockEditableFactory, never()).newEditable(any(CharSequence.class)); in testSetEditableFactory()1414 reset(mockEditableFactory); in testSetEditableFactory()1416 verify(mockEditableFactory, times(1)).newEditable(text); in testSetEditableFactory()[all …]