TYPO3 CMS
TYPO3_6-2
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Files
File List
+
File Members
+
All
$
(
_
a
c
d
e
f
h
i
l
o
p
r
s
t
u
x
+
Functions
_
a
c
d
e
f
i
l
o
p
r
s
u
x
+
Variables
$
(
_
a
d
e
h
i
p
r
s
t
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
DocumentFormatTest.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Documentation\Tests\Unit\Domain\Model
;
3
20
class
DocumentFormatTest
extends
\TYPO3\CMS\Core\Tests\UnitTestCase
{
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
}
TYPO3\CMS\Documentation\Tests\Unit\Domain\Model
Definition:
DocumentFormatTest.php:2
TYPO3\CMS\Documentation\Tests\Unit\Domain\Model\DocumentFormatTest\$fixture
$fixture
Definition:
DocumentFormatTest.php:25
TYPO3\CMS\Documentation\Tests\Unit\Domain\Model\DocumentFormatTest\setFormatForStringSetsFormat
setFormatForStringSetsFormat()
Definition:
DocumentFormatTest.php:34
TYPO3\CMS\Documentation\Tests\Unit\Domain\Model\DocumentFormatTest\setPathForStringSetsPath
setPathForStringSetsPath()
Definition:
DocumentFormatTest.php:46
TYPO3\CMS\Documentation\Tests\Unit\Domain\Model\DocumentFormatTest\setUp
setUp()
Definition:
DocumentFormatTest.php:27
TYPO3\CMS\Core\Tests\UnitTestCase
Definition:
UnitTestCase.php:26
TYPO3\CMS\Documentation\Tests\Unit\Domain\Model\DocumentFormatTest
Definition:
DocumentFormatTest.php:20
typo3
sysext
documentation
Tests
Unit
Domain
Model
DocumentFormatTest.php
Generated on Wed Aug 7 2019 09:52:24 for TYPO3 CMS by
1.8.13