/** * @covers ::__construct * @group Container */ public function testConstruct() { $container = new Collection($this->type, ['asd'], true); $this->assertSame($this->type, $container->getType()); $this->assertEquals(['asd'], $container->getContents()); $this->assertTrue($container->isReadOnly()); }