Even though the string `"spam"` is iterable the matcher you are testing here is a list matcher. I would expect a test initializing the matcher with a list... something like `ContainsMatcher(["spam"])`.