Searched refs:mockEditableFactory (Results 1 – 1 of 1) sorted by relevance
1243 final Editable.Factory mockEditableFactory = spy(new Editable.Factory()); in testSetEditableFactory() local1244 doCallRealMethod().when(mockEditableFactory).newEditable(any(CharSequence.class)); in testSetEditableFactory()1245 mTextView.setEditableFactory(mockEditableFactory); in testSetEditableFactory()1248 verify(mockEditableFactory, never()).newEditable(any(CharSequence.class)); in testSetEditableFactory()1250 reset(mockEditableFactory); in testSetEditableFactory()1252 verify(mockEditableFactory, never()).newEditable(any(CharSequence.class)); in testSetEditableFactory()1254 reset(mockEditableFactory); in testSetEditableFactory()1256 verify(mockEditableFactory, never()).newEditable(any(CharSequence.class)); in testSetEditableFactory()1258 reset(mockEditableFactory); in testSetEditableFactory()1260 verify(mockEditableFactory, times(1)).newEditable(text); in testSetEditableFactory()[all …]