CalendarComponentTest.php 494 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. App::uses('CalendarComponent', 'Tools.Controller/Component');
  3. App::uses('MyCakeTestCase', 'Tools.TestSuite');
  4. class CalendarComponentTest extends MyCakeTestCase {
  5. public function setUp() {
  6. parent::setUp();
  7. $this->Calendar = new CalendarComponent(new ComponentCollection());
  8. }
  9. public function tearDown() {
  10. parent::tearDown();
  11. }
  12. public function testObject() {
  13. $this->assertInstanceOf('CalendarComponent', $this->Calendar);
  14. }
  15. public function testX() {
  16. //TODO
  17. }
  18. }