/** * a helper method to assert the uri passed to the view is as expected * * @param string $expected_uri * @return void * @author Craig Ulliott */ function assertViewURI($expected_uri) { if (!View::getURI() === $expected_uri) { $this->fail('URI ' . View::getURI() . ' was expected to be ' . $expected_uri); } }