Pantheon\Terminus\UnitTests\Models\SiteTest::testRemovePaymentMethod PHP Method

testRemovePaymentMethod() public method

Tests Site::removePaymentMethod()
    public function testRemovePaymentMethod()
    {
        $this->workflows->expects($this->once())->method('create')->with($this->equalTo('disassociate_site_instrument'), $this->equalTo(['site' => $this->model->id]))->willReturn($this->workflow);
        $workflow = $this->model->removePaymentMethod();
        $this->assertEquals($workflow, $this->workflow);
    }