Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F10843551
AMQPBrokerTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
722 B
Referenced Files
None
Subscribers
None
AMQPBrokerTest.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Keruald\Broker\Tests
;
use
Keruald\Broker\AMQPBroker
;
class
AMQPBrokerTest
extends
TestCase
{
/**
* @var Keruald\Broker\AMQPBroker
*/
protected
$instance
;
protected
function
setUp
()
:
void
{
$this
->
instance
=
new
AMQPBroker
();
}
public
function
testFluencyPattern
()
{
$methodsCascade
=
[
[
'connect'
],
[
'setExchangeTarget'
,
'foo'
],
[
'setQueueTarget'
,
'foo'
],
[
'routeTo'
,
'bar'
],
[
'sendMessage'
,
'lorem ipsum dolor'
],
[
'disconnect'
],
];
$this
->
assertMethodCascading
(
$this
->
instance
,
$methodsCascade
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, Jul 31, 13:36 (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2855307
Default Alt Text
AMQPBrokerTest.php (722 B)
Attached To
Mode
rKBROKER Keruald Broker
Attached
Detach File
Event Timeline
Log In to Comment