function test_remove_words() { $this->assertEquals('foo-bar', URLify::filter('foo bar')); URLify::remove_words(array('foo', 'bar')); $this->assertEquals('', URLify::filter('foo bar')); }
function test_remove_words_disable() { URLify::remove_words(array('foo', 'bar')); $this->assertEquals('foo-bar', URLify::filter('foo bar', 60, '', false, false)); }