mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-23 16:26:59 +01:00
* fix Tests\Browser\TestCase imports * fix remaining imports * fix PHPUnit\Framework\TestCase imports * import GuzzleHttp\Client * fix remaining * "php_unit_method_casing" is not todo * fix "single_line_comment_spacing" * fix 2nd commit done using older fixer
22 lines
425 B
PHP
22 lines
425 B
PHP
<?php
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
/**
|
|
* Test class to test rcube_message class
|
|
*/
|
|
class Framework_Message extends TestCase
|
|
{
|
|
/**
|
|
* Test format_part_body() method
|
|
*/
|
|
public function test_format_part_body()
|
|
{
|
|
$part = new rcube_message_part();
|
|
$body = 'test';
|
|
$result = rcube_message::format_part_body($body, $part);
|
|
|
|
$this->assertSame('test', $result);
|
|
}
|
|
}
|