<?php namespace Streamer\Test; use Streamer\Stream; class StreamTest extends \PHPUnit_Framework_TestCase { /** * @expectedException Streamer\Exception\InvalidArgumentException */ public function testConstructorRequiresAValidResource() { $stream = new Stream