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