| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function testCheckSetAndGetMethods() |
||
| 17 | { |
||
| 18 | $authOptions = $this->createAuthOptions(); |
||
| 19 | |||
| 20 | $this->assertEquals(AuthOptions::DEFAULT_VARIABLE_NAME, $authOptions->getVariableName()); |
||
| 21 | $this->assertEquals(AuthOptions::ATTRIBUTE_STORAGE_TYPE, $authOptions->getVariableStorageType()); |
||
| 22 | |||
| 23 | $authOptions->setVariableName('var1'); |
||
| 24 | $this->assertEquals('var1', $authOptions->getVariableName()); |
||
| 25 | |||
| 26 | $authOptions->setVariableStorageType(AuthOptions::COOKIE_STORAGE_TYPE); |
||
| 27 | $this->assertEquals(AuthOptions::COOKIE_STORAGE_TYPE, $authOptions->getVariableStorageType()); |
||
| 28 | } |
||
| 29 | } |
||
| 30 |