23 lines
507 B
PHP
23 lines
507 B
PHP
<?php
|
|
if (!defined('ABSPATH')) exit;
|
|
class ConsumerStrategies_SocketConsumerTest extends PHPUnit_Framework_TestCase {
|
|
protected $_instance = null;
|
|
protected $_file = null;
|
|
protected function setUp()
|
|
{
|
|
parent::setUp();
|
|
$this->_instance = new ConsumerStrategies_SocketConsumer(array(
|
|
"host" => "localhost",
|
|
"endpoint" => "/endpoint",
|
|
"timeout" => 2,
|
|
"use_ssl" => false
|
|
));
|
|
}
|
|
protected function tearDown()
|
|
{
|
|
parent::tearDown();
|
|
$this->_instance = null;
|
|
}
|
|
public function testPersist() {
|
|
}
|
|
}
|