Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4792607
ProjectsMapFactoryTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
853 B
Referenced Files
None
Subscribers
None
ProjectsMapFactoryTest.php
View Options
<?php
namespace
Nasqueron\Notifications\Tests\Phabricator
;
use
Nasqueron\Notifications\Tests\TestCase
;
class
ProjectsMapFactoryTest
extends
TestCase
{
/**
* @var \Nasqueron\Notifications\Phabricator\ProjectsMapFactory
*/
private
$factory
;
public
function
setUp
()
{
parent
::
setUp
();
$this
->
factory
=
$this
->
app
->
make
(
'phabricator-projectsmap'
);
$this
->
mockPhabricatorAPIForProjectsMap
();
}
public
function
testLoadProjectsMap
()
{
$this
->
assertInstanceOf
(
'
\N
asqueron
\N
otifications
\P
habricator
\P
rojectsMap'
,
$this
->
factory
->
load
(
"Acme"
)
);
}
public
function
testFetchProjectsMap
()
{
$this
->
assertInstanceOf
(
'
\N
asqueron
\N
otifications
\P
habricator
\P
rojectsMap'
,
$this
->
factory
->
fetch
(
"Acme"
)
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Feb 28, 20:14 (8 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2436615
Default Alt Text
ProjectsMapFactoryTest.php (853 B)
Attached To
Mode
rNOTIF Notifications center
Attached
Detach File
Event Timeline
Log In to Comment