| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public function testDefaultSerializeOk() |
||
| 17 | { |
||
| 18 | $msg = null; |
||
| 19 | $edmx = new Edmx(); |
||
| 20 | $this->assertTrue($edmx->isOK($msg), $msg); |
||
| 21 | $ymlDir = dirname(__DIR__) . DIRECTORY_SEPARATOR . "src" . DIRECTORY_SEPARATOR . "MetadataV3" . DIRECTORY_SEPARATOR . "JMSmetadata"; |
||
| 22 | $serializer = |
||
| 23 | \JMS\Serializer\SerializerBuilder::create() |
||
| 24 | ->addMetadataDir($ymlDir) |
||
| 25 | ->build(); |
||
| 26 | $d = $serializer->serialize($edmx, "xml"); |
||
| 27 | $this->V3MetadataAgainstXSD($d); |
||
| 28 | } |
||
| 29 | |||
| 38 |