protected function _addDependency($testable, $class) {
		if ($testable->findNextContent(array("use {$class};"))) {
			return;
		}
		$tokens = $testable->tokens();
		$lines = $testable->lines();

		if ($token = $testable->findNext(array(T_USE))) {
			array_splice($lines, $tokens[$token]['line'] - 1, 0, "use {$class};");
		} else {
			if (!$token = $testable->findNext(array(T_NAMESPACE))) {
				$this->addWarning(array('message' => 'Not able to add dependency.'));
				return;
			}
			array_splice($lines, $tokens[$token]['line'], 0, "use {$class};");
			array_splice($lines, $tokens[$token]['line'], 0, "");
		}
		$testable->source(implode("\n", $lines));
	}