refinery29/test-util

View on GitHub
test/DataProvider/AbstractTestCase.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

/*
 * Copyright (c) 2016 Refinery29, Inc.
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

namespace Refinery29\Test\Util\Test\DataProvider;

use PHPUnit\Framework;
use Refinery29\Test\Util\DataProvider\DataProviderInterface;
use Refinery29\Test\Util\TestHelper;

abstract class AbstractTestCase extends Framework\TestCase
{
    use TestHelper;

    /**
     * @return string
     */
    abstract protected function className();

    final public function testImplementsDataProviderInterface()
    {
        $this->assertImplements(DataProviderInterface::class, $this->className());
    }
}