EntityListener - Only called for a specific Doctrine entity

Code
<?php

use Doctrine\ORM\Mapping as A;

/** 
 * @A\Entity
 * @A\Table(name="test")
 * @A\EntityListeners(value="TestListener")
 */
class Test
{
    public function 
__construct(string $name)
    {
        
$this->name $name;
        
$this->creationDate = new DateTime();
    }
    
    
/**
     * @A\Column(type="integer", name="id")
     * @A\Id
     * @A\GeneratedValue(strategy="AUTO")
     */
    
private $id;
    
    
/** 
     * @A\Column(type="datetime", name="creation_date", nullable=true)
     */
    
private $creationDate;
    
    
/** 
     * @A\Column(type="string", name="name", length=255)
     */
    
private $name;
}

class 
TestListener
{
    public function 
prePersist(Test $test)
    {
        
dump($test);
        throw new 
Exception('I don\'t want to persist for this snippet');
    }
}

$test = new Test('name');

try {
    
$entityManager->persist($test);
    
$entityManager->flush();
} catch (
Exception $e) {
    echo 
$e->getMessage() . PHP_EOL;
}
Result
Test {#371
  -id: null
  -creationDate: DateTime {#370
    +"date": "2017-08-18 10:54:43.152269"
    +"timezone_type": 3
    +"timezone": "Europe/Berlin"
  }
  -name: "name"
}
I don't want to persist for this snippet
Used Versions
PHP 7.1, Zend 3.0, Symfony 3.2, Laravel 5.2, PHPUnit 5.6, Doctrine 2.6