/** * @expectedException \Novuso\System\Exception\UnderflowException */ public function test_that_min_throws_exception_when_empty() { $tree = new RedBlackSearchTree(new ComparableComparator()); $tree->min(); }
/** * {@inheritdoc} */ public function min() { return $this->tree->min(); }