mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-03 06:44:03 +01:00
22 lines
424 B
PHP
22 lines
424 B
PHP
<?php
|
|
|
|
/**
|
|
* Test class to test rcube_message class
|
|
*
|
|
* @package Tests
|
|
*/
|
|
class Framework_Message extends PHPUnit\Framework\TestCase
|
|
{
|
|
/**
|
|
* Test format_part_body() method
|
|
*/
|
|
function test_format_part_body()
|
|
{
|
|
$part = new rcube_message_part();
|
|
$body = 'test';
|
|
$result = rcube_message::format_part_body($body, $part);
|
|
|
|
$this->assertSame('test', $result);
|
|
}
|
|
}
|