916ad41a5ac9b435d53af12b89f426ee00228f4f
[TYPO3CMS/Extensions/roq_newsevent.git] / Tests / Unit / Domain / Model / EventTest.php
1 <?php
2
3 /***************************************************************
4 * Copyright notice
5 *
6 * (c) 2012
7 * All rights reserved
8 *
9 * This script is part of the TYPO3 project. The TYPO3 project is
10 * free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * The GNU General Public License can be found at
16 * http://www.gnu.org/copyleft/gpl.html.
17 *
18 * This script is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * This copyright notice MUST APPEAR in all copies of the script!
24 ***************************************************************/
25
26 /**
27 * Test case for class Tx_RoqNewsevent_Domain_Model_Event.
28 *
29 * @version $Id$
30 * @copyright Copyright belongs to the respective authors
31 * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3 or later
32 *
33 * @package TYPO3
34 * @subpackage News event
35 *
36 */
37 class Tx_RoqNewsevent_Domain_Model_EventTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
38 /**
39 * @var Tx_RoqNewsevent_Domain_Model_Event
40 */
41 protected $fixture;
42
43 public function setUp() {
44 $this->fixture = new Tx_RoqNewsevent_Domain_Model_Event();
45 }
46
47 public function tearDown() {
48 unset($this->fixture);
49 }
50
51 /**
52 * @test
53 */
54 public function getEventStartdateReturnsInitialValueForDate() { }
55
56 /**
57 * @test
58 */
59 public function setEventStartdateForDateSetsEventStartdate() { }
60
61 /**
62 * @test
63 */
64 public function getEventStarttimeReturnsInitialValueForInt() { }
65
66 /**
67 * @test
68 */
69 public function setEventStarttimeForIntSetsEventStarttime() { }
70
71 /**
72 * @test
73 */
74 public function getEventEnddateReturnsInitialValueForDate() { }
75
76 /**
77 * @test
78 */
79 public function setEventEnddateForDateSetsEventEnddate() { }
80
81 /**
82 * @test
83 */
84 public function getEventEndtimeReturnsInitialValueForInt() { }
85
86 /**
87 * @test
88 */
89 public function setEventEndtimeForIntSetsEventEndtime() { }
90
91 /**
92 * @test
93 */
94 public function getEventLocationReturnsInitialValueForString() { }
95
96 /**
97 * @test
98 */
99 public function setEventLocationForStringSetsEventLocation() {
100 $this->fixture->setEventLocation('Conceived at T3CON10');
101
102 $this->assertSame(
103 'Conceived at T3CON10',
104 $this->fixture->getEventLocation()
105 );
106 }
107
108 }
109 ?>