def METHOD_NAME(self):
    with patch.object(self.activity_type.connection, "describe_activity_type") as mock:
        mock.side_effect = lambda *_, **__: throw(
            boto.swf.exceptions.SWFResponseError(
                400,
                "Bad Request:",
                {
                    "__type": "com.amazonaws.swf.base.model#UnknownResourceFault",
                    "message": "Unknown type: ActivityType=[name=blah, version=test]",
                },
                "UnknownResourceFault",
            )
        )
        self.assertFalse(self.activity_type.exists)