mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-04 15:24:02 +01:00
* 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
22 lines
421 B
PHP
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);
|
|
}
|
|
}
|