Files
roundcubemail/tests/Framework/Message.php
Michael Voříšek 54f4aa33f9 Fix CS - imports (#9316)
* 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
2024-01-21 19:13:31 +01:00

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);
}
}