public function TagadelicTagMethodsTest::testSkipsCleanWhenClean in Tagadelic 7.2
@covers TagadelicTag::clean()
File
- tests/
TagadelicTagMethodsTest.php, line 134
Class
- TagadelicTagMethodsTest
- Class TagadelicTagMethodsTest
Code
public function testSkipsCleanWhenClean() {
$drupal = $this
->getMock("TagaDelicDrupalWrapper");
$drupal
->expects($this
->never())
->method("check_plain");
$this->object
->set_drupal($drupal);
$this->object
->force_clean();
$this->object
->get_name();
$this->object
->get_description();
}