def METHOD_NAME(self):
    # Test retrieving audio samples withouts labels from a directory and its
    # subdirs where we double the sampling rate.
    # Save a few extra audio in the parent directory.
    directory = self._prepare_directory(count=7, num_classes=2)
    for i, audio in enumerate(self._get_audio_samples(3)):
        filename = f"audio_{i}.wav"
        with open(os.path.join(directory, filename), "wb") as f:
            f.write(audio.numpy())
    dataset = audio_dataset.audio_dataset_from_directory(
        directory,
        batch_size=5,
        output_sequence_length=30,
        labels=None,
        sampling_rate=2000,  # Twice the original sample rate.
    )
    batch = next(iter(dataset))
    # We return plain audio. Expect twice as many samples now.
    self.assertEqual(batch.shape, (5, 60, 1))
    self.assertEqual(batch.dtype.name, "float32")
    # Count samples
    batch_count = 0
    sample_count = 0
    for batch in dataset:
        batch_count += 1
        sample_count += batch.shape[0]
    self.assertEqual(batch_count, 2)
    self.assertEqual(sample_count, 10)