public it_sets_attachments_to_the_collection ( Crummy\Phlack\Message\AttachmentInterface $attachment ) | ||
$attachment | Crummy\Phlack\Message\AttachmentInterface |
public function it_sets_attachments_to_the_collection(AttachmentInterface $attachment)
{
$this->set('attachment1', $attachment)->shouldReturn(null);
$this->get('attachment1')->shouldReturn($attachment);
}