public function testFilterPostDataBy() { $_POST = array('foo_bar' => 13, 'bar' => 'asd'); $this->assertSame(array('bar' => 13), X\THETOOLS::filter_postDataBy('foo', array('bar' => 'i'))); }