1234567891011121314 |
- <?php
- class ElggObjectTest extends \PHPUnit_Framework_TestCase {
- protected function setUp() {
- // required by \ElggEntity when setting the owner/container
- _elgg_services()->setValue('session', \ElggSession::getMock());
- }
- public function testCanConstructWithoutArguments() {
- $this->assertNotNull(new \ElggObject());
- }
- }
|