Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4793466
OutputDisplayTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
497 B
Referenced Files
None
Subscribers
None
OutputDisplayTest.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Keruald\Commands\Tests\Display
;
use
Keruald\Commands\Display\OutputDisplay
;
use
PHPUnit\Framework\TestCase
;
class
OutputDisplayTest
extends
TestCase
{
/**
* @var OutputDisplay
*/
private
$display
;
public
function
setUp
()
:
void
{
$this
->
display
=
new
OutputDisplay
;
}
public
function
testOut
()
:
void
{
$this
->
expectOutputString
(
"Hello world!
\n
"
);
$this
->
display
->
out
(
"Hello world!"
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Feb 28, 21:45 (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2436395
Default Alt Text
OutputDisplayTest.php (497 B)
Attached To
Mode
rKERUALD Keruald libraries development repository
Attached
Detach File
Event Timeline
Log In to Comment