TYPO3 CMS  TYPO3_6-2
DocumentFormatTest.php
Go to the documentation of this file.
1 <?php
3 
21 
25  protected $fixture;
26 
27  public function setUp() {
28  $this->fixture = new \TYPO3\CMS\Documentation\Domain\Model\DocumentFormat();
29  }
30 
34  public function setFormatForStringSetsFormat() {
35  $this->fixture->setFormat('Conceived at T3DD13');
36 
37  $this->assertSame(
38  'Conceived at T3DD13',
39  $this->fixture->getFormat()
40  );
41  }
42 
46  public function setPathForStringSetsPath() {
47  $this->fixture->setPath('Conceived at T3DD13');
48 
49  $this->assertSame(
50  'Conceived at T3DD13',
51  $this->fixture->getPath()
52  );
53  }
54 
55 }