create() публичный Метод

Write a comment for a pin with current id.
public create ( integer $pinId, string $text ) : array | boolean
$pinId integer
$text string Comment
Результат array | boolean
Пример #1
0
 /** @test */
 public function it_should_create_comments_for_pin()
 {
     $this->apiShouldReturnSuccess()->assertNotEmpty($this->provider->create(1111, 'comment text'));
     $this->apiShouldReturnError()->assertFalse($this->provider->create(1111, 'comment text'));
 }