public function testNonExistantProperty() { $this->setExpectedException('BadMethodCallException'); Animal::all()->llamas(); }