public function testMethodDispatchWithNoModel()
{
$data = array('foo' => true);
$entity = new Entity(compact('data'));
$this->assertException("/^No model bound to call `foo`.\$/", function () use($entity) {
$entity->foo();
});
}