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
FileMountRepositoryTest.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Extbase\Tests\Unit\Domain\Repository
;
3
20
class
FileMountRepositoryTest
extends
\TYPO3\CMS\Core\Tests\UnitTestCase
{
21
25
protected
$fixture
= NULL;
26
27
protected
function
setUp
() {
28
$this->fixture = new \TYPO3\CMS\Extbase\Domain\Repository\FileMountRepository($this->getMock(
'TYPO3\\CMS\\Extbase\\Object\\ObjectManagerInterface'
));
29
}
30
34
public
function
initializeObjectSetsRespectStoragePidToFalse() {
36
$objectManager = $this->getMock(
'TYPO3\\CMS\\Extbase\\Object\\ObjectManagerInterface'
);
37
$fixture
= new \TYPO3\CMS\Extbase\Domain\Repository\FileMountRepository($objectManager);
38
$querySettings = $this->getMock(
'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Typo3QuerySettings'
);
39
$querySettings->expects($this->once())->method(
'setRespectStoragePage'
)->with(FALSE);
40
$objectManager->expects($this->once())->method(
'get'
)->with(
'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Typo3QuerySettings'
)->will($this->returnValue($querySettings));
41
$fixture
->initializeObject();
42
}
43
}
TYPO3\CMS\Extbase\Tests\Unit\Domain\Repository\FileMountRepositoryTest\setUp
setUp()
Definition:
FileMountRepositoryTest.php:27
TYPO3\CMS\Extbase\Tests\Unit\Domain\Repository
Definition:
BackendUserGroupRepositoryTest.php:2
TYPO3\CMS\Extbase\Tests\Unit\Domain\Repository\FileMountRepositoryTest
Definition:
FileMountRepositoryTest.php:20
TYPO3\CMS\Extbase\Tests\Unit\Domain\Repository\FileMountRepositoryTest\$fixture
$fixture
Definition:
FileMountRepositoryTest.php:25
TYPO3\CMS\Core\Tests\UnitTestCase
Definition:
UnitTestCase.php:26
typo3
sysext
extbase
Tests
Unit
Domain
Repository
FileMountRepositoryTest.php
Generated on Wed Aug 7 2019 09:52:25 for TYPO3 CMS by
1.8.13