public function testHasPipedCommandWithoutCommand() { $command = $this->getMockBuilder('\\Clinner\\Command\\Command')->disableOriginalConstructor()->setMethods(null)->getMock(); $this->assertFalse($command->hasPipedCommand()); }