Beispiel #1
0
 public function testHasManyForSingleResourceInstanceMethod()
 {
     $user = new TestUser(1);
     $user->shoes()->walk(1, 'response');
     $this->assertRequest('post', '/users/1/shoes/1/walk');
 }