public function TagadelicCloudTest::testTo_cache in Tagadelic 7.2
@covers tagadeliccloud::to_cache
File
- tests/
TagadelicCloudTest.php, line 119
Class
- TagadelicCloudTest
- Generated by PHPUnit_SkeletonGenerator on 2012-05-16 at 15:23:33.
Code
public function testTo_cache() {
$drupal = $this
->getMock("TagadelicDrupalWrapper", array(
"cache_set",
));
$drupal
->expects($this
->once())
->method("cache_set")
->with("tagadelic_cloud_1337", $this->object);
$this->object
->set_drupal($drupal);
$this->object
->to_cache();
}