function test_getCanonicalVersion() { $record = df_get_record('Profiles', array('id' => 10)); $tt = new Dataface_TranslationTool(); $this->assertEquals('1.00', $tt->getCanonicalVersion($record, 'en')); }