AddCourseToSessionTest.lib.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. return;
  3. /**
  4. * Generated by PHPUnit_SkeletonGenerator on 2013-02-17 at 00:43:47.
  5. */
  6. class AddCourseToSessionTest extends PHPUnit_Framework_TestCase
  7. {
  8. /**
  9. * @var AddCourseToSession
  10. */
  11. protected $object;
  12. /**
  13. * Sets up the fixture, for example, opens a network connection.
  14. * This method is called before a test is executed.
  15. */
  16. protected function setUp()
  17. {
  18. $this->object = new AddCourseToSession;
  19. }
  20. /**
  21. * Tears down the fixture, for example, closes a network connection.
  22. * This method is called after a test is executed.
  23. */
  24. protected function tearDown()
  25. {
  26. }
  27. /**
  28. * Generated from @assert () !== null.
  29. *
  30. * @covers AddCourseToSession::search_courses
  31. */
  32. public function testSearch_courses()
  33. {
  34. /*$this->assertNotSame(
  35. null,
  36. $this->object->search_courses()
  37. );*/
  38. }
  39. /**
  40. * Generated from @assert ('abc', 'single') !== null.
  41. *
  42. * @covers AddCourseToSession::search_courses
  43. */
  44. public function testSearch_courses2()
  45. {
  46. /*$this->assertNotSame(
  47. null,
  48. $this->object->search_courses('abc', 'single')
  49. );*/
  50. }
  51. /**
  52. * Generated from @assert ('abc', 'multiple') !== null.
  53. *
  54. * @covers AddCourseToSession::search_courses
  55. */
  56. public function testSearch_courses3()
  57. {
  58. //$this->assertNotSame(null, $this->object->search_courses('abc', 'multiple') );
  59. }
  60. }