Files
roundcubemail/tests/Framework/Message.php
Michael Voříšek d18406a8bd Fix binary operator spaces CS (#9330)
* align_single_space_minimal for assign

* assign operators grouping is not supported by PHP CS Fixer

* binary_operator_spaces = single_space

* fix anonymous function on single line

* align comments manually
2024-02-02 07:53:34 +01:00

22 lines
421 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);
}
}