public function testFilterDataByNegative() { $data = $this->_getFilterExample(); $test = X\THETOOLS::filter_data_by('prefix', $data, array('string' => 'b', 'url' => 'e', 'email' => 'i', 'int' => 'u', 'float' => 's', 'bool' => 'f')); $this->assertSame(array('string' => false, 'url' => 'httpexample.org', 'email' => false, 'int' => "4", 'float' => "4.3", 'bool' => 1.0), $test); }