public function test_collection_throws_ex_for_different_types() { $col = new Collection('int'); $col = $col->add('string'); }