dispatch('backend/admin/locks/index'); $body = $this->getResponse()->getBody(); $this->assertContains('

Locked Users

', $body); $this->assertRegExp( '/\s*adminUser1\s*<\/td>/', $body ); $this->assertRegExp( '/\s*adminUser2\s*<\/td>/', $body ); } }