| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class EntityArgumentsInterpreterTest extends TestCase |
||
| 10 | { |
||
| 11 | public function testArgumentsInterpret() |
||
| 12 | { |
||
| 13 | $interpretedArguments = EntityArgumentsInterpreter::interpretArguments(['x-queue-type' => 'quorum']); |
||
| 14 | $this->assertInstanceOf(AMQPTable::class, $interpretedArguments); |
||
| 15 | $this->assertEquals( |
||
| 16 | ['x-queue-type' => [14 /* represent longstring*/, 'quorum']], |
||
| 17 | [$interpretedArguments->key() => $interpretedArguments->current()] |
||
| 18 | ); |
||
| 19 | } |
||
| 20 | |||
| 21 | public function testArgumentsInterpretForPassedInAMQPTable() |
||
| 27 | } |
||
| 28 | } |
||
| 29 |