Exemplo n.º 1
0
 /** @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));
 }
Exemplo n.º 2
0
 public function testUnFollow()
 {
     $response = $this->createSuccessApiResponse();
     $this->mock->method('exec')->willReturn($response);
     $this->assertTrue($this->provider->unfollow(1));
     $this->assertTrue($this->provider->unfollow(1));
 }