Asserts task item status icon.
string $row: Identifier for the row.
int $state: The expected state.
protected function assertTaskItemStatusIcon($row, $state) {
$result = $this
->xpath('//*[@id="edit-items"]/div/div/table/tbody/tr[td//text()[contains(., :row)]]/td[1]/img', [
':row' => $row,
])[0];
$this
->assertEquals($state, $result
->getAttribute('title'));
}