- ->findOneByLabel('specific label');
- $this->assertInstanceOf(Tag::class, $newTag, 'Tag "specific label" exists.');
- $this->assertTrue($newTag->hasEntry($freshEntry), 'Tag "specific label" is assigned to the entry.');
+ ->findByLabel($newTagLabel);
+
+ $this->assertCount(1, $newTag, 'New tag exists.');
+
+ $this->assertTrue($newTag[0]->hasEntry($freshEntry), 'New tag is assigned to the entry.');
+ $this->assertTrue($newTag[0]->hasEntry($freshEntry2), 'New tag is assigned to the entry2.');