Cviebrock\EloquentTaggable\Test\TaggingTests::testTaggingAgain PHP Метод

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

Test adding additional tags
public testTaggingAgain ( )
    public function testTaggingAgain()
    {
        $this->testModel->tag('Apple,Banana,Cherry');
        $this->testModel->tag('Durian');
        $this->assertEquals(4, count($this->testModel->tags));
        $this->assertArrayValuesAreEqual(['Apple', 'Banana', 'Cherry', 'Durian'], $this->testModel->tagArray);
    }