public function testNamed_Fail() { $err = "Unabled to load named queries: first tell how using Query::loadNamedWith()"; $this->setExpectedException('Exception', $err); Query::named('foo'); }