public function testDirectStaticQueryViewNameDefinitionMissing() { if (version_compare(PHP_VERSION, '5.3', '<')) { $this->markTestSkipped('PHP 5.3 is minimum requirement for this test.'); } try { phpillowViewTestPublic::all(); $this->fail('Expected phpillowRuntimeException.'); } catch (phpillowRuntimeException $e) { /* Expected exception */ } }