AbstractConsumerTest.php
2 years ago
CurlConsumerTest.php
2 years ago
FileConsumerTest.php
2 years ago
SocketConsumerTest.php
2 years ago
index.php
2 years ago
SocketConsumerTest.php
24 lines
| 1 | <?php |
| 2 | if (!defined('ABSPATH')) exit; |
| 3 | class ConsumerStrategies_SocketConsumerTest extends PHPUnit_Framework_TestCase { |
| 4 | protected $_instance = null; |
| 5 | protected $_file = null; |
| 6 | protected function setUp() |
| 7 | { |
| 8 | parent::setUp(); |
| 9 | $this->_instance = new ConsumerStrategies_SocketConsumer(array( |
| 10 | "host" => "localhost", |
| 11 | "endpoint" => "/endpoint", |
| 12 | "timeout" => 2, |
| 13 | "use_ssl" => false |
| 14 | )); |
| 15 | } |
| 16 | protected function tearDown() |
| 17 | { |
| 18 | parent::tearDown(); |
| 19 | $this->_instance = null; |
| 20 | } |
| 21 | public function testPersist() { |
| 22 | } |
| 23 | } |
| 24 |