public function testPrepopulateFieldsOverwriteContainer()
 {
     // load config
     $va_prepopulate_options = array('prepopulateConfig' => dirname(__FILE__) . DIRECTORY_SEPARATOR . 'conf' . DIRECTORY_SEPARATOR . 'prepopulate_container_overwrite.conf');
     $t_object = new ca_objects();
     $t_object->setMode(ACCESS_WRITE);
     $t_object->set('type_id', 'image');
     $t_object->set('idno', 'test123');
     $t_object->addAttribute(array('url_entry' => "http://en.wikipedia.org", 'url_source' => 'Wikipedia'), 'external_link');
     $t_object->insert();
     $this->assertGreaterThan(0, $t_object->getPrimaryKey(), 'Primary key for new object must be greater than 0');
     $this->opa_test_record_ids['ca_objects'][] = $t_object->getPrimaryKey();
     $this->assertTrue($t_object->prepopulateFields($va_prepopulate_options), 'Prepopulate should return true');
     $this->assertEquals('test123', $t_object->get('ca_objects.external_link.url_source'), 'url source must prepopulate');
     $this->assertEquals("http://en.wikipedia.org", $t_object->get('ca_objects.external_link.url_entry'), 'url entry must not change');
 }