class WordFormatterTest extends \PHPUnit_Framework_TestCase {
8
9
/**
10
* @test
11
*/
12
public function wrapTest()
13
{
14
$wordFormatter = new WordFormatter();
15
16
$content = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.";
$expectedResult = "Lorem Ipsum is simply dummy-<br/>text of the printing and-<br/>typesetting industry. Lorem-<br/>Ipsum has been the industry's-<br/>standard dummy text ever since-<br/>the 1500s, when an unknown-<br/>printer took a galley of type-<br/>and scrambled it to make a-<br/>type specimen book.";