@Test
public void addTextWatcher() throws Exception {

    // Given
    BindingFunction function = TextChangedBindingFunction.create(listener);
    // When
    function.bind(view);
    // Then
    verify(view).addTextChangedListener(isA(TextWatcher.class));
    verify(view).setTag(eq(R.id.onTextChangedListener), isA(TextWatcher.class));
}