public function testAddTestReturnsSelf() { $suite = new Suite('/path/to/ResultSuite.php', array()); $self = $this->printer->addTest($suite); $this->assertSame($this->printer, $self); }