def METHOD_NAME(self):
    corpus = ("foo", "bar", "baz")
    single = match_all("foo", corpus)
    multiple = match_all("ba", corpus)
    with self.subTest("__bool__"):
        self.assertTrue(single)
        self.assertFalse(multiple)
    with self.subTest("get"):
        self.assertEqual(single.get(), "foo")
        self.assertRaises(ValueError, multiple.get)
    with self.subTest("__len__"):
        self.assertEqual(len(single), 1)
        self.assertEqual(len(multiple), 2)
    with self.subTest("__iter__"):
        self.assertEqual(set(single), {"foo"})
        self.assertEqual(set(multiple), {"bar", "baz"})