vyacheslav-k
11/27/2017 - 10:06 AM

Espresson onData() Dynamic

In this example, the LongListActivity class contains a list of strings exposed through a SimpleAdapter.

onData(allOf(is(instanceOf(Map.class)),
        hasEntry(equalTo(LongListActivity.ROW_TEXT), is("test input")));