public function testAlwaysMultipleCardinality() { $container = new Container(); $this->assertEquals(Cardinality::MULTIPLE, $container->getCardinality()); }
/** * @see \qtism\common\collections\Container::checkType() */ protected function checkType($value) { parent::checkType($value); if (!Utils::isBaseTypeCompliant($this->getBaseType(), $value)) { Utils::throwBaseTypeTypingError($this->getBaseType(), $value); } }