def test_encode_processed_content_valid(self):
        """Test to ensure that the method encodes the processed content correctly."""
        tensor_mock = Mock(spec=Tensor)
        preprocessed_content = [[("chunk", tensor_mock)]]

        result = self.pipeline._encode_processed_content(preprocessed_content)
        self.assertEqual(len(result), 1)
        self.assertIsInstance(result[0], np.ndarray)
Test to ensure that the method encodes the processed content correctly.
tests/unit_tests/marqo/inference/native_inference/test_languagebind_model_inference_pipeline.py