public function test_del_by_tags()
{
$this->mem->add(__METHOD__ . 'd1', 1, 10, 'tag');
$call = $this->mem->del_by_tags('tag');
$this->assertTrue($call);
$check = $this->mem->read(__METHOD__ . 'd1');
$this->assertTrue(empty($check))->addCommentary('variables still in cache');
$this->mem->add(__METHOD__ . 'd1', 1, 10, 'tag1');
$this->mem->add(__METHOD__ . 'd2', 1, 10, 'tag2');
$call = $this->mem->del_by_tags(array('tag1', 'tag2'));
$this->assertTrue($call);
$check = $this->mem->read(array(__METHOD__ . 'd1', __METHOD__ . 'd2'));
$this->assertTrue(empty($check))->addCommentary('variables still in cache: ' . print_r($check, 1));
}