public it_returns_a_collection_containing_the_added_field ( Crummy\Phlack\Message\FieldInterface $field ) | ||
$field | Crummy\Phlack\Message\FieldInterface |
public function it_returns_a_collection_containing_the_added_field(FieldInterface $field)
{
$this->addField($field);
$this->getFields()->toArray()->shouldContain($field);
}