def METHOD_NAME(self):
    if not HAS_PYTEXT:
        return self.skipTest("Skip the test since PyText is not installed")
    self.embedding_file, self.embedding_path = tempfile.mkstemp()
    self.word_embedding_file, self.word_embedding_path = tempfile.mkstemp()
    self.decoder_file, self.decoder_path = tempfile.mkstemp()
    self.representation_file, self.representation_path = tempfile.mkstemp()
    self.model = self._create_dummy_model()
    self.data_handler = self._create_dummy_data_handler()