public function test_float_is_invalid_key_type() { $this->expectException(InvalidArgumentException::class); $d = new Dictionary('float', 'int'); }