public function shouldReturnXmlPathForXmlContentType() { //given $type = 'text/xml'; //when $path = ViewPathResolver::resolveViewPath('exception', $type); //then $this->assertEquals(ROOT_PATH . 'Application' . DIRECTORY_SEPARATOR . 'View' . DIRECTORY_SEPARATOR . 'exception.xml.phtml', $path); }