+$m->submit_form_ok({
+ with_fields => {
+ WatcherTypeEmail1 => 'Cc',
+ WatcherAddressEmail1 => '"Foo Bar" <foo@example.com>',
+ },
+ button => 'SubmitTicket',
+}, "Added email with phrase as watcher");
+
+my $foo = RT::Test->load_or_create_user( EmailAddress => 'foo@example.com' );
+is $foo->RealName, "Foo Bar", "RealName matches";