| @@ 44-51 (lines=8) @@ | ||
| 41 | /** |
|
| 42 | * |
|
| 43 | */ |
|
| 44 | public function testAssertGetResourceOwnerId() |
|
| 45 | { |
|
| 46 | $this->specify('verify service can getResourceOwnerId', function () { |
|
| 47 | $service = $this->createService(); |
|
| 48 | $this->validateAccessToken($service); |
|
| 49 | verify($service->getResourceOwnerId())->equals('test'); |
|
| 50 | }); |
|
| 51 | } |
|
| 52 | ||
| 53 | /** |
|
| 54 | * |
|
| @@ 56-63 (lines=8) @@ | ||
| 53 | /** |
|
| 54 | * |
|
| 55 | */ |
|
| 56 | public function testAssertGetResourceOwnerType() |
|
| 57 | { |
|
| 58 | $this->specify('verify service can getResourceOwnerType', function () { |
|
| 59 | $service = $this->createService(); |
|
| 60 | $this->validateAccessToken($service); |
|
| 61 | verify($service->getResourceOwnerType())->equals('test'); |
|
| 62 | }); |
|
| 63 | } |
|
| 64 | ||
| 65 | /** |
|
| 66 | * |
|
| @@ 68-75 (lines=8) @@ | ||
| 65 | /** |
|
| 66 | * |
|
| 67 | */ |
|
| 68 | public function testAssertGetClientId() |
|
| 69 | { |
|
| 70 | $this->specify('verify service can getClientId', function () { |
|
| 71 | $service = $this->createService(); |
|
| 72 | $this->validateAccessToken($service); |
|
| 73 | verify($service->getClientId())->equals('test'); |
|
| 74 | }); |
|
| 75 | } |
|
| 76 | ||
| 77 | /** |
|
| 78 | * @param OAuth2Service $service |
|