<?php

namespace Onoi\Tesa\Tests\Synonymizer;

use Onoi\Tesa\Synonymizer\NullSynonymizer;
use PHPUnit\Framework\TestCase;

/**
 * @covers \Onoi\Tesa\Synonymizer\NullSynonymizer
 * @group onoi-tesa
 *
 * @license GPL-2.0-or-later
 * @since 0.1
 *
 * @author mwjames
 */
class NullSynonymizerTest extends TestCase {

	public function testCanConstruct() {
		$this->assertInstanceOf(
			'\Onoi\Tesa\Synonymizer\NullSynonymizer',
			new NullSynonymizer()
		);
	}

	public function testSynonymize() {
		$instance = new NullSynonymizer();

		$this->assertEquals(
			'Foo',
			$instance->synonymize( 'Foo' )
		);
	}

}
