public function testGetSubscribedEvents()
{
$this->assertEquals(array(Events::postPersist, Events::postUpdate, Events::preRemove), $this->proxy->getSubscribedEvents());
foreach ($this->proxy->getSubscribedEvents() as $event) {
$this->assertTrue(is_callable(array($this->proxy, $event)), "{$event} is not callable");
}
}