Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3942558
TestCase.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
583 B
Referenced Files
None
Subscribers
None
TestCase.php
View Options
<?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
Details
Attached
Mime Type
text/x-php
Expires
Thu, Dec 26, 16:30 (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2315262
Default Alt Text
TestCase.php (583 B)
Attached To
Mode
rNOTIF Notifications center
Attached
Detach File
Event Timeline
Log In to Comment