public function testValidatesTypesOfElements() { $list = new Collection(\Cassandra::TYPE_VARINT); $list->add(new Decimal('123')); }