Files
cachet-docker/tests/Foundation/Providers/AppServiceProviderTest.php
2016-05-28 16:19:33 +01:00

38 lines
859 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\Dates\DateFactory;
use CachetHQ\Cachet\GitHub\Release;
use CachetHQ\Tests\Cachet\AbstractTestCase;
/**
* This is the app service provider test class.
*
* @author Graham Campbell <graham@alt-three.com>
*/
class AppServiceProviderTest extends AbstractTestCase
{
use ServiceProviderTrait;
public function testDateFactoryIsInjectable()
{
$this->assertIsInjectable(DateFactory::class);
}
public function testReleaseIsInjectable()
{
$this->assertIsInjectable(Release::class);
}
}