Page MenuHomeDevCentral

TestCase.php
No OneTemporary

TestCase.php

<?php
namespace Nasqueron\Notifications\Tests\Providers;
use Nasqueron\Notifications\Tests\TestCase as BaseTestCase;
class TestCase extends BaseTestCase {
/**
* Asserts a service in the application container is from the expected type.
*
* @param $expectedType The type to check
* @param $serviceName The service name to use as application container key
*/
public function assertServiceInstanceOf ($expectedType, $serviceName) {
$service = $this->app->make($serviceName);
$this->assertInstanceOf($expectedType, $service);
}
}

File Metadata

Mime Type
text/x-php
Expires
Thu, Dec 26, 16:30 (20 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2315262
Default Alt Text
TestCase.php (583 B)

Event Timeline