# quadmenu/3.3.8/vendor/franmastromarino/wp-orm/tests/Collection/CollectionTest.php

QuadMenu – Mega Menu, version 3.3.8. 21 lines.

- Page: https://pluginprobe.com/plugins/quadmenu/3.3.8/code/vendor/franmastromarino/wp-orm/tests/Collection/CollectionTest.php
- Raw: https://pluginprobe.com/plugins/quadmenu/3.3.8/raw/vendor/franmastromarino/wp-orm/tests/Collection/CollectionTest.php
- Modified: 2025-11-15T21:00:52+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/quadmenu/3.3.8/code/vendor/franmastromarino/wp-orm/tests/Collection/CollectionTest.php#L10-L20`.

```php
<?php

namespace QuadLayers\WP_Orm\Tests\Collection\Entity;

use PHPUnit\Framework\TestCase;
use QuadLayers\WP_Orm\Tests\Collection\CollectionEntityTest;

class CollectionTest extends TestCase
{
    public function testGettersAndSetters()
    {

        $entity = new CollectionEntityTest();

        $testValue = $entity->getDefaults();

        $this->assertEquals($testValue['key1'], $entity->getKey1());
        $this->assertEquals($testValue['key2'], $entity->getKey2());
    }
}

```
