def test_metadata_fetching_success(self):
        """Metadata fetching should return correct size and duration."""
        valid_url = TestVideoUrls.VIDEO1.value

        streaming_media_processor_object = StreamingMediaProcessor(
            url=valid_url, preprocessors=self.test_preprocessor,
            preprocessing_config=self.test_video_preprocessing_config
        )
        size, duration, _ = streaming_media_processor_object._fetch_file_metadata()

        self.assertEqual(2971504, size) # Hardcoded value
        self.assertEqual(10.01, duration) # Hardcoded value
Metadata fetching should return correct size and duration.
tests/integ_tests/inference/native_inference/media_download_and_preprocess/test_streaming_media_preprcessor.py