public function setWith($adapter)
{
$this->adapter = $adapter;
if ($this->adapter instanceof \mageekguy\atoum\test\adapter) {
$this->pass();
} else {
$this->fail($this->_('%s is not a test adapter', $this->getTypeOf($this->adapter)));
}
return $this;
}