コード例 #1
0
 public function testLogoutCallsLogoutService()
 {
     $user = $this->service->getUser();
     $this->logout->shouldReceive('logout')->with($user)->once();
     $user = $this->service->logout();
     $this->assertInstanceOf('Aura\\Auth\\Auth', $user);
 }