ElggObjectTest.php 331 B

1234567891011121314
  1. <?php
  2. class ElggObjectTest extends \PHPUnit_Framework_TestCase {
  3. protected function setUp() {
  4. // required by \ElggEntity when setting the owner/container
  5. _elgg_services()->setValue('session', \ElggSession::getMock());
  6. }
  7. public function testCanConstructWithoutArguments() {
  8. $this->assertNotNull(new \ElggObject());
  9. }
  10. }