<?php

namespace WyriHaximus\Ratchet\Tests\Event;

abstract class AbstractEventTest extends \PHPUnit_Framework_TestCase
{
    public function testEventConst()
    {
        $fqcn = static::FQCN;
        $this->assertInternalType('string', $fqcn::EVENT);
        $this->assertTrue(strlen($fqcn::EVENT) > 0);
    }
}

<?php

namespace WyriHaximus\Ratchet\Tests\Event;

abstract class AbstractEventTest extends \PHPUnit_Framework_TestCase
{
    public function testEventConst()
    {
        $fqcn = static::FQCN;
        $this->assertInternalType('string', $fqcn::EVENT);
        $this->assertTrue(strlen($fqcn::EVENT) > 0);
    }

    public function testExtendsEvent()
    {
        $this->assertSame('Cake\Event\Event', (new \ReflectionClass(static::FQCN))->getParentClass()->getName());
    }
}

Make sure all events extend Event
Make sure all events extend Event
