'Check whether metadata get and set methods are working as expected.'

def test_get_set_methods_metadata(self):

    self.tribler_config.set_metadata_enabled(True)
    self.assertEqual(self.tribler_config.get_metadata_enabled(), True)
    self.tribler_config.set_metadata_store_dir('TESTDIR')
    self.tribler_config.set_state_dir('TEST')
    self.assertEqual(self.tribler_config.get_metadata_store_dir(), os.path.join('TEST', 'TESTDIR'))
