1 | <?php |
||
17 | class BannerDemandTest extends UnitTestCase |
||
18 | { |
||
19 | /** |
||
20 | * @var \DERHANSEN\SfBanners\Domain\Model\BannerDemand |
||
21 | */ |
||
22 | protected $fixture; |
||
23 | |||
24 | /** |
||
25 | * Set up |
||
26 | * |
||
27 | * @return void |
||
28 | */ |
||
29 | public function setUp() |
||
33 | |||
34 | /** |
||
35 | * Tear down |
||
36 | * |
||
37 | * @return void |
||
38 | */ |
||
39 | public function tearDown() |
||
43 | |||
44 | /** |
||
45 | * Test if categories can be set |
||
46 | * |
||
47 | * @test |
||
48 | * @return void |
||
49 | */ |
||
50 | public function categoriesCanBeSetTest() |
||
56 | |||
57 | /** |
||
58 | * Test if startingpoint can be set |
||
59 | * |
||
60 | * @test |
||
61 | * @return void |
||
62 | */ |
||
63 | public function startingPointCanBeSetTest() |
||
69 | |||
70 | /** |
||
71 | * Test if displaymode returns the correct initial value |
||
72 | * |
||
73 | * @test |
||
74 | * @return void |
||
75 | */ |
||
76 | public function displayModeReturnsInitialValueForDisplayModeTest() |
||
80 | |||
81 | /** |
||
82 | * Test if displaymode can be set |
||
83 | * |
||
84 | * @test |
||
85 | * @return void |
||
86 | */ |
||
87 | public function displayModeCanBeSetTest() |
||
93 | |||
94 | /** |
||
95 | * Test if the current page uid can be set |
||
96 | * |
||
97 | * @test |
||
98 | * @return void |
||
99 | */ |
||
100 | public function currentPageUidCanBeSetTest() |
||
106 | |||
107 | /** |
||
108 | * @test |
||
109 | */ |
||
110 | public function getMaxResultsReturnsInitialValue() |
||
114 | |||
115 | /** |
||
116 | * @test |
||
117 | */ |
||
118 | public function maxResultsCanBeSet() |
||
123 | } |
||
124 |