def METHOD_NAME(self):
    model = self.function.validate_properties_and_return_model(FunctionProperties)
    self.assertEqual(model.CodeUri, "s3://foobar/foo.zip")
    self.assertEqual(model.Runtime, "foo")
    self.assertEqual(model.Handler, "bar")
    self.assertEqual(model.FunctionUrlConfig.Cors, {"AllowOrigins": ["example1.com"]})
    self.assertEqual(model.FunctionUrlConfig.AuthType, "123")
    self.assertEqual(model.Events["MyMqEvent"].Type, "MQ")
    self.assertEqual(model.Events["MyMqEvent"].Properties.Broker, {"Fn::GetAtt": "MyMqBroker.Arn"})
    self.assertEqual(model.Events["MyMqEvent"].Properties.Queues, ["TestQueue"])
    self.assertEqual(model.Events["MyMqEvent"].Properties.SourceAccessConfigurations, [{"Type": "BASIC_AUTH"}])