prepareInputForUpdate() public method

public prepareInputForUpdate ( $input )
 /**
  * @covers Computer_SoftwareVersion::prepareInputForUpdate
  */
 public function testPrepareInputForUpdate()
 {
     $this->Login();
     $computer1 = getItemByTypeName('Computer', '_test_pc01');
     $computer11 = getItemByTypeName('Computer', '_test_pc11', true);
     $ver = getItemByTypeName('SoftwareVersion', '_test_softver_1', true);
     // Do some installations
     $ins = new Computer_SoftwareVersion();
     $this->assertGreaterThan(0, $ins->add(['computers_id' => $computer1->getID(), 'softwareversions_id' => $ver]));
     $input = ['computers_id' => $computer1->getID(), 'name' => 'Another name'];
     $expected = ['computers_id' => $computer1->getID(), 'name' => 'Another name', 'is_template_computer' => $computer1->getField('is_template'), 'is_deleted_computer' => $computer1->getField('is_deleted')];
     $this->assertEquals($expected, $ins->prepareInputForUpdate($input));
 }