public function testRemove()
{
$site_name = 'site_name';
$workflow = $this->getMockBuilder(Workflow::class)->disableOriginalConstructor()->getMock();
$this->site->expects($this->once())->method('removePaymentMethod')->with()->willReturn($workflow);
$workflow->expects($this->once())->method('wait')->with();
$this->site->expects($this->once())->method('get')->with($this->equalTo('name'))->willReturn($site_name);
$this->logger->expects($this->once())->method('log')->with($this->equalTo('notice'), $this->equalTo('The payment method for the {site} site has been removed.'), $this->equalTo(['site' => $site_name]));
$out = $this->command->remove($site_name);
$this->assertNull($out);
}