public function tagsCanBePersisted()
{
$tag = new Tag('foobar');
$this->tagRepository->add($tag);
$this->persistenceManager->persistAll();
$this->persistenceManager->clearState();
$this->assertCount(1, $this->tagRepository->findAll());
$this->assertInstanceOf(Tag::class, $this->tagRepository->findAll()->getFirst());
}