CodeExplorer EmailAddressContains example
self::
assertThat($email,
new MimeConstraint\
EmailHeaderSame($headerName,
$expectedValue),
$message);
} public static function assertEmailHeaderNotSame(RawMessage
$email, string
$headerName, string
$expectedValue, string
$message = ''
): void
{ self::
assertThat($email,
new LogicalNot(new MimeConstraint\
EmailHeaderSame($headerName,
$expectedValue)),
$message);
} public static function assertEmailAddressContains(RawMessage
$email, string
$headerName, string
$expectedValue, string
$message = ''
): void
{ self::
assertThat($email,
new MimeConstraint\
EmailAddressContains($headerName,
$expectedValue),
$message);
} public static function assertEmailSubjectContains(RawMessage
$email, string
$expectedValue, string
$message = ''
): void
{ self::
assertThat($email,
new MimeConstraint\
EmailSubjectContains($expectedValue),
$message);
} public static function assertEmailSubjectNotContains(RawMessage
$email, string
$expectedValue, string
$message = ''
): void
{ self::
assertThat($email,
new LogicalNot(new MimeConstraint\
EmailSubjectContains($expectedValue)),
$message);
}