process_submission() public méthode

Process the contact form's POST submission Stores feedback. Sends email.
public process_submission ( )
 /**
  * @author tonykova
  * @covers Grunion_Contact_Form::process_submission
  */
 public function test_process_submission_labels_message_as_spam_in_subject_if_marked_as_spam_with_true_and_sending_spam()
 {
     add_filter('jetpack_contact_form_is_spam', '__return_true', 11);
     // Run after akismet filter
     add_filter('grunion_still_email_spam', '__return_true');
     add_filter('wp_mail', array($this, 'pre_test_process_submission_labels_message_as_spam_in_subject_if_marked_as_spam_with_true_and_sending_spam'));
     $form = new Grunion_Contact_Form(array('to' => '*****@*****.**'));
     $result = $form->process_submission();
 }
 /**
  * @author tonykova
  * @covers Grunion_Contact_Form::process_submission
  */
 public function test_process_submission_labels_message_as_spam_in_subject_if_marked_as_spam_with_true_and_sending_spam()
 {
     add_filter('jetpack_contact_form_is_spam', function () {
         return true;
     }, 11);
     // Run after akismet filter
     add_filter('grunion_still_email_spam', function () {
         return true;
     });
     add_filter('wp_mail', function ($args) {
         $this->assertContains('***SPAM***', $args['subject']);
     });
     $form = new Grunion_Contact_Form(array('to' => '*****@*****.**'));
     $result = $form->process_submission();
 }