1 | <?php |
||
20 | class TargetHydratorTest extends \PHPUnit\Framework\TestCase |
||
21 | { |
||
22 | const ID1 = 11111; |
||
23 | const TYPE1 = 'type-11111'; |
||
24 | const NAME1 = 'name-11111'; |
||
25 | |||
26 | const ID2 = 22222; |
||
27 | const TYPE2 = 'type-22222'; |
||
28 | const NAME2 = 'name-22222'; |
||
29 | |||
30 | protected $data = [ |
||
31 | 'id' => self::ID1, |
||
32 | 'type' => self::TYPE1, |
||
33 | 'name' => self::NAME1, |
||
34 | ]; |
||
35 | |||
36 | public function setUp() |
||
40 | |||
41 | public function testHydrateNew() |
||
46 | |||
47 | public function testHydrateOld() |
||
53 | |||
54 | public function checkValues($obj) |
||
61 | } |
||
62 |