Skip to content

Instantly share code, notes, and snippets.

@JehandadK
JehandadK / EditTextMatchers.java
Created February 10, 2016 12:05 — forked from smuldr/EditTextMatchers.java
Espresso: Match EditText error text
package smuldr.espresso.util;
import android.content.res.Resources;
import android.support.test.espresso.matcher.BoundedMatcher;
import android.view.View;
import android.widget.EditText;
import org.hamcrest.Description;
import org.hamcrest.Matcher;
import org.hamcrest.Matchers;