/** * Checks that the current text matches the expected text. * * @param expected Expected text. * * @since Espresso Macchiato 0.1 */ public void assertTextIs(String expected) { findView().check(matches(withText(expected))); } }
/** * Checks that the current text matches the expected text. * * @param expected Expected text. * * @since Espresso Macchiato 0.1 */ public void assertTextIs(String expected) { findView().check(matches(withText(expected))); } }