public function testConverge() { $this->workflows->expects($this->once())->method('create')->with($this->equalTo('converge_site'))->willReturn($this->workflow); $workflow = $this->model->converge(); $this->assertEquals($workflow, $this->workflow); }