public function setAdapter(atoum\adapter $adapter = null) { $this->adapter = $adapter ?: new atoum\adapter(); return $this; }