<?php declare(strict_types=1);

namespace Room11\Jeeves\Tests\Chat\Plugin;

use Room11\Jeeves\Chat\Plugin\Rebecca;

class RebeccaTest extends AbstractPluginTest
{
    /**
     * @inheritdoc
     */
    protected function setUp()
    {
        parent::setUp();

        $this->plugin = new Rebecca($this->client);
    }

    public function testCommandName()
    {
        $this->assertSame(['rebecca'], $this->plugin->getHandledCommands());
    }
}

<?php declare(strict_types=1);

namespace Room11\Jeeves\Tests\Chat\Plugin;

use Room11\Jeeves\Chat\Plugin\Rebecca;

class RebeccaTest extends AbstractPluginTest
{
    /**
     * @inheritdoc
     */
    protected function setUp()
    {
        parent::setUp();

        $this->plugin = new Rebecca($this->client);
    }

    public function testCommandName()
    {
        $this->assertSame('Rebecca', $this->plugin->getName());
        $this->assertSame([], $this->plugin->getEventHandlers());
        $this->assertSame(null, $this->plugin->getMessageHandler());
    }
}

Stop Rebecca test from failing
Stop Rebecca test from failing
