seregazhuk\tests\Bot\Api\UserTest::it_should_get_user_profile_and_send_request_when_deactivating PHP Method

it_should_get_user_profile_and_send_request_when_deactivating() public method

    public function it_should_get_user_profile_and_send_request_when_deactivating()
    {
        $this->apiShouldReturnData(['id' => 1234])->apiShouldReturnSuccess()->assertTrue($this->provider->deactivate());
        $this->apiShouldReturnData(['id' => 1234])->apiShouldReturnError()->assertFalse($this->provider->deactivate());
        $this->apiShouldReturnSuccess()->assertFalse($this->provider->deactivate());
    }