/** * @expectedException \Hansel23\StronglyTyped\Exceptions\InvalidDictionaryException */ public function testIfMergingDifferentDictionariesThrowsException() { $dictionary = new Dictionary(gettype('teststring'), TestType::class); $anotherDictionary = new TestDictionary(gettype('teststring'), TestType::class); $dictionary->merge($anotherDictionary); }
public function __construct() { $stringTypeName = gettype(''); parent::__construct($stringTypeName, $stringTypeName); }