Files
accounts/tests/ServiceInstantiationTest.php
René Preuß 7226975ac3 Initial commit
2019-08-31 13:21:54 +02:00

26 lines
660 B
PHP

<?php
declare(strict_types=1);
namespace GhostZero\BitinflowAccounts\Tests;
use GhostZero\BitinflowAccounts\BitinflowAccounts;
use GhostZero\BitinflowAccounts\Facades\BitinflowAccounts as BitinflowAccountsFacade;
use GhostZero\BitinflowAccounts\Tests\TestCases\TestCase;
/**
* @author René Preuß <rene@preuss.io>
*/
class ServiceInstantiationTest extends TestCase
{
public function testInstance()
{
$this->assertInstanceOf(BitinflowAccounts::class, app(BitinflowAccounts::class));
}
public function testFacade()
{
$this->assertInstanceOf(BitinflowAccounts::class, BitinflowAccountsFacade::getFacadeRoot());
}
}