/** * @test */ public function ComputerSoftwareORBit2() { global $DB; $DB->connect(); $computer_SoftwareVersion = new Computer_SoftwareVersion(); $computer_SoftwareVersion->getFromDB(3); $a_reference = array('id' => '3', 'computers_id' => '1', 'softwareversions_id' => '3', 'is_deleted_computer' => '0', 'is_template_computer' => '0', 'entities_id' => '0', 'is_deleted' => '0', 'is_dynamic' => '1'); $this->assertEquals($a_reference, $computer_SoftwareVersion->fields); }