def METHOD_NAME(self, getsize_patch):
    # Arrange
    self.servicecatalog_client.create_provisioning_artifact\
        .return_value = self.get_create_provisioning_artifact_output()
    expected_pa_detail = self.get_create_provisioning_artifact_output()
    del expected_pa_detail['ResponseMetadata']
    expected_response_output = json.dumps(expected_pa_detail,
                                          indent=2,
                                          ensure_ascii=False)
    # Act
    with capture_output() as captured:
        result = self.cmd._run_main(self.args, self.global_args)
    # Assert
    self.session.create_client.assert_called_with(
                                    'servicecatalog',
                                    region_name=self.global_args.region,
                                    endpoint_url=None,
                                    verify=None)
    self.servicecatalog_client.create_provisioning_artifact.\
        assert_called_once_with(
                        ProductId=self.args.product_id,
                        Parameters=self.
                        get_provisioning_artifact_parameters(
                            self.args.provisioning_artifact_name,
                            self.args.provisioning_artifact_description,
                            self.args.provisioning_artifact_type
                        )
                    )
    self.assertEqual(expected_response_output,
                     captured.stdout.getvalue())
    self.assertEqual(0, result)