private static final String buttonName = "Buttons, Various uses of UIButton";
@Test
public void exactMatch() {
Criteria c1 = new TypeCriteria(UIATableCell.class);
PropertyEqualCriteria c2 = new NameCriteria(buttonName);
Assert.assertEquals(c2.getMatchingStrategy(), MatchingStrategy.exact);
Criteria c = new AndCriteria(c1, c2);
UIAElement element = driver.findElement(c);
Assert.assertEquals(element.getName(), buttonName);
}