/** @test */ public function unFollowUser() { $response = $this->createSuccessApiResponse(); $this->mock->shouldReceive('followMethodCall')->andReturn($response); $this->assertTrue($this->provider->unfollow(1)); $this->assertTrue($this->provider->unfollow(1)); }
public function testUnFollow() { $response = $this->createSuccessApiResponse(); $this->mock->method('exec')->willReturn($response); $this->assertTrue($this->provider->unfollow(1)); $this->assertTrue($this->provider->unfollow(1)); }