public testWorkflowIDLogsCommand ( ) |
public function testWorkflowIDLogsCommand()
{
$this->workflows->expects($this->once())->method('fetch')->willReturn($this->workflows);
$this->workflows->expects($this->once())->method('get')->with($this->equalTo('12345'))->willReturn($this->workflow);
$this->workflow->expects($this->once())->method('operations')->willReturn([$this->operation, $this->operation]);
$out = $this->command->logs('mysite', ['id' => '12345']);
$this->assertEquals($out, $this->expected_logs);
}