Asserts task status icon.
int $row: The row of the item you want to check.
string $view: The view where we want to assert.
string $overview: The overview table to check.
int $state: The expected state.
protected function assertTaskStatusIcon($row, $view, $overview, $state) {
$result = $this
->xpath('//*[@id="views-form-tmgmt-local-' . $view . '-' . $overview . '"]/table/tbody/tr[' . $row . ']/td[2]/img')[0];
$this
->assertEquals($state, $result
->getAttribute('title'));
}