for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Jalle19\StatusManager\Test\Message\Request;
use Jalle19\StatusManager\Message\Request\PopularChannelsRequest;
/**
* Class StatisticsRequestTest
* @package Jalle19\StatusManager\Test\Message\Request
* @copyright Copyright © Sam Stenvall 2016-
* @license https://www.gnu.org/licenses/gpl.html The GNU General Public License v2.0
*/
class StatisticsRequestTest extends \PHPUnit_Framework_TestCase
{
* Tests that the constructor validation is working
*
* @expectedException \Jalle19\StatusManager\Exception\MalformedRequestException
* @expectedExceptionMessageRegExp *instanceName*
public function testConstructor()
$parameters = new \stdClass();
new PopularChannelsRequest($parameters);
}