3 * This file is part of sebastian/diff.
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
11 namespace SebastianBergmann\Diff;
13 use PHPUnit\Framework\TestCase;
16 * @covers SebastianBergmann\Diff\Line
18 class LineTest extends TestCase
25 protected function setUp()
27 $this->line = new Line;
30 public function testCanBeCreatedWithoutArguments()
32 $this->assertInstanceOf('SebastianBergmann\Diff\Line', $this->line);
35 public function testTypeCanBeRetrieved()
37 $this->assertEquals(Line::UNCHANGED, $this->line->getType());
40 public function testContentCanBeRetrieved()
42 $this->assertEquals('', $this->line->getContent());