--- /dev/null
+<?php
+
+class PdoAppliancesVersionsTest extends AlloServeurTest {
+
+ /** @var PdoApplianceVersionManager */
+ private $pdoAppliancesVersions;
+
+ protected function setUp() {
+ parent::setUp();
+ $this->pdoAppliancesVersions = new PdoApplianceVersionManager();
+ }
+
+ public function testGetAll(){
+ $appliance_version_list = $this->pdoAppliancesVersions->getAll(1);
+ $this->assertEquals(1,$appliance_version_list[0]->version_id);
+ }
+
+ public function testGet(){
+ $info = $this->pdoAppliancesVersions->get(1);
+ $this->assertEquals(1,$info->version_id);
+ }
+
+
+
+}
\ No newline at end of file