Swift_Bug51Test
extends SwiftMailerTestCase
in package
A base test case with some custom expectations.
Table of Contents
- $attachmentFile : mixed
- $outputFile : mixed
- assertAttachmentFromSourceMatches() : mixed
- assertIdenticalBinary() : mixed
- regExp() : mixed
- testAttachmentsDoNotGetTruncatedUsingToByteStream() : mixed
- testAttachmentsDoNotGetTruncatedUsingToString() : mixed
- getMockery() : mixed
- setUp() : mixed
- tearDown() : mixed
- createMessageWithRandomAttachment() : mixed
- fillFileWithRandomBytes() : mixed
Properties
$attachmentFile
private
mixed
$attachmentFile
$outputFile
private
mixed
$outputFile
Methods
assertAttachmentFromSourceMatches()
public
assertAttachmentFromSourceMatches(mixed $attachmentData, mixed $source) : mixed
Parameters
- $attachmentData : mixed
- $source : mixed
Return values
mixed —assertIdenticalBinary()
public
assertIdenticalBinary(mixed $expected, mixed $actual[, mixed $message = '' ]) : mixed
Parameters
- $expected : mixed
- $actual : mixed
- $message : mixed = ''
Return values
mixed —regExp()
public
static regExp(mixed $pattern) : mixed
Parameters
- $pattern : mixed
Return values
mixed —testAttachmentsDoNotGetTruncatedUsingToByteStream()
public
testAttachmentsDoNotGetTruncatedUsingToByteStream() : mixed
Return values
mixed —testAttachmentsDoNotGetTruncatedUsingToString()
public
testAttachmentsDoNotGetTruncatedUsingToString() : mixed
Return values
mixed —getMockery()
protected
getMockery(mixed $class) : mixed
Parameters
- $class : mixed
Return values
mixed —setUp()
protected
setUp() : mixed
Return values
mixed —tearDown()
protected
tearDown() : mixed
Return values
mixed —createMessageWithRandomAttachment()
private
createMessageWithRandomAttachment(mixed $size, mixed $attachmentPath) : mixed
Parameters
- $size : mixed
- $attachmentPath : mixed
Return values
mixed —fillFileWithRandomBytes()
private
fillFileWithRandomBytes(mixed $byteCount, mixed $file) : mixed
Parameters
- $byteCount : mixed
- $file : mixed