public function testElementsOfWrongTypeAreIgnored($collection) { $this->assertEquals(3, product($collection), '', 0.01); }