Cachet/tests/Foundation/Providers/AppServiceProviderTest.php
2017-01-30 13:30:45 +00:00

33 lines
768 B
PHP

<?php
/*
* This file is part of Cachet.
*
* (c) Alt Three Services Limited
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace CachetHQ\Tests\Cachet\Foundation\Providers;
use AltThree\TestBench\ServiceProviderTrait;
use CachetHQ\Cachet\Services\Dates\DateFactory;
use CachetHQ\Tests\Cachet\AbstractTestCase;
/**
* This is the app service provider test class.
*
* @author Graham Campbell <graham@alt-three.com>
* @author James Brooks <james@alt-three.com>
*/
class AppServiceProviderTest extends AbstractTestCase
{
use ServiceProviderTrait;
public function testDateFactoryIsInjectable()
{
$this->assertIsInjectable(DateFactory::class);
}
}