1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- namespace SebastianBergmann\Diff;
- use PHPUnit\Framework\TestCase;
- class LineTest extends TestCase
- {
-
- private $line;
- protected function setUp()
- {
- $this->line = new Line;
- }
- public function testCanBeCreatedWithoutArguments()
- {
- $this->assertInstanceOf('SebastianBergmann\Diff\Line', $this->line);
- }
- public function testTypeCanBeRetrieved()
- {
- $this->assertEquals(Line::UNCHANGED, $this->line->getType());
- }
- public function testContentCanBeRetrieved()
- {
- $this->assertEquals('', $this->line->getContent());
- }
- }
|