assertEqual('7bit', $encoder->getName()); } public function testGet8BitEncodingReturns8BitEncoder() { $encoder = Swift_Encoding::get8BitEncoding(); $this->assertEqual('8bit', $encoder->getName()); } public function testGetQpEncodingReturnsQpEncoder() { $encoder = Swift_Encoding::getQpEncoding(); $this->assertEqual('quoted-printable', $encoder->getName()); } public function testGetBase64EncodingReturnsBase64Encoder() { $encoder = Swift_Encoding::getBase64Encoding(); $this->assertEqual('base64', $encoder->getName()); } }