1 | <?php |
||
22 | class ApiAccessTokenFixtureTest extends \PHPUnit_Framework_TestCase |
||
23 | { |
||
24 | use ConfigurationTestCaseTrait; |
||
25 | |||
26 | /** |
||
27 | * @test |
||
28 | */ |
||
29 | public function access_token_can_be_generated_randomly() |
||
33 | |||
34 | /** |
||
35 | * @test |
||
36 | */ |
||
37 | public function access_token_can_be_created_with_custom_random_id() |
||
43 | |||
44 | /** |
||
45 | * @test |
||
46 | */ |
||
47 | public function access_token_can_be_created_with_custom_secret() |
||
53 | |||
54 | /** |
||
55 | * @test |
||
56 | */ |
||
57 | public function access_token_can_be_created_with_grant_type() |
||
63 | |||
64 | /** |
||
65 | * @test |
||
66 | */ |
||
67 | public function access_token_can_be_created_with_expires_at() |
||
73 | |||
74 | /** |
||
75 | * {@inheritdoc} |
||
76 | */ |
||
77 | protected function getConfiguration() |
||
84 | } |
||
85 |