testing/src/FlexiPeeHP/EvidenceListTest.php 1 location
|
@@ 38-44 (lines=7) @@
|
35 |
|
/** |
36 |
|
* @covers FlexiPeeHP\EvidenceList::objectToID |
37 |
|
*/ |
38 |
|
public function testObjectToID() |
39 |
|
{ |
40 |
|
$this->object->setDataValue($this->object->myKeyColumn, 'TEST'); |
41 |
|
$this->assertEquals('TEST', $this->object->objectToID($this->object)); |
42 |
|
|
43 |
|
$this->assertEquals('TEST2', $this->object->objectToID('TEST2')); |
44 |
|
} |
45 |
|
|
46 |
|
/** |
47 |
|
* @covers FlexiPeeHP\EvidenceList::__toString |
testing/src/FlexiPeeHP/FlexiBeeROTest.php 1 location
|
@@ 218-225 (lines=8) @@
|
215 |
|
/** |
216 |
|
* @covers FlexiPeeHP\FlexiBeeRO::objectToID |
217 |
|
*/ |
218 |
|
public function testObjectToID() |
219 |
|
{ |
220 |
|
$this->object->setDataValue('kod', 'TEST'); |
221 |
|
$this->assertEquals('code:TEST', |
222 |
|
$this->object->objectToID($this->object)); |
223 |
|
|
224 |
|
$this->assertEquals('TEST', $this->object->objectToID('TEST')); |
225 |
|
} |
226 |
|
|
227 |
|
/** |
228 |
|
* @covers FlexiPeeHP\FlexiBeeRO::performRequest |