/** * @test * @expectedException Bitreserve\Exception\AuthenticationRequiredException */ public function shouldThrowAuthenticationRequiredExceptionWhenGettingToken() { $client = new BitreserveClient(); $client->getToken(); }