def METHOD_NAME(self):
    template = SamTemplate(self.template_dict)
    type = "AWS::Serverless::SimpleTable"
    expected = []
    actual = [(id, resource.to_dict()) for id, resource in template.iterate({type})]
    self.assertEqual(expected, actual)