/** * @expectedException \Novuso\System\Exception\KeyException */ public function test_that_get_throws_exception_for_undefined_key() { $tree = new RedBlackSearchTree(new ComparableComparator()); $tree->get(WeekDay::SUNDAY()); }
/** * {@inheritdoc} */ public function get($key) { return $this->tree->get($key); }