AccessurleditsessionstourlTest.lib.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /**
  3. * Generated by PHPUnit_SkeletonGenerator on 2013-02-17 at 00:38:50.
  4. */
  5. class AccessurleditsessionstourlTest extends PHPUnit_Framework_TestCase
  6. {
  7. /**
  8. * @var Accessurleditsessionstourl
  9. */
  10. protected $object;
  11. /**
  12. * Sets up the fixture, for example, opens a network connection.
  13. * This method is called before a test is executed.
  14. */
  15. protected function setUp()
  16. {
  17. ob_start();
  18. require_once dirname(__FILE__).'/../../../main/inc/lib/access_url_edit_sessions_to_url_functions.lib.php';
  19. require_once dirname(__FILE__).'/../../../main/inc/lib/main_api.lib.php';
  20. $this->object = new Accessurleditsessionstourl;
  21. }
  22. /**
  23. * Tears down the fixture, for example, closes a network connection.
  24. * This method is called after a test is executed.
  25. */
  26. protected function tearDown()
  27. {
  28. ob_end_clean();
  29. }
  30. /**
  31. * Generated from @assert () === false.
  32. *
  33. * @covers Accessurleditsessionstourl::search_sessions
  34. */
  35. public function testSearch_sessions()
  36. {
  37. ob_start();
  38. $this->assertSame(
  39. false,
  40. $this->object->search_sessions(null,null)
  41. );
  42. ob_end_clean();
  43. }
  44. }