AccessurledituserstourlTest.lib.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /**
  3. * Generated by PHPUnit_SkeletonGenerator on 2013-02-17 at 00:39:52.
  4. */
  5. class AccessurledituserstourlTest extends PHPUnit_Framework_TestCase
  6. {
  7. /**
  8. * @var Accessurledituserstourl
  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_users_to_url_functions.lib.php';
  19. require_once dirname(__FILE__).'/../../../main/inc/lib/main_api.lib.php';
  20. $this->object = new Accessurledituserstourl;
  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 Accessurledituserstourl::search_users
  34. */
  35. public function testSearch_users()
  36. {
  37. $this->assertThat(
  38. false,
  39. $this->logicalNot(
  40. $this->equalTo($this->object->search_users(null, null))
  41. )
  42. );
  43. }
  44. }