### Question:
LinkedBinaryTree extends AbstractBinaryTree<E> { public Position<E> addRight(Position<E> p, E e) throws IllegalArgumentException { } LinkedBinaryTree(); @Override int size(); @Override Position<E> root(); @Override Position<E> parent(Position<E> p); @Override Position<E> left(Position<E> p); @Override Position<E> right(Position<E> p); Position<E> addRoot(E e); void insert(E e); Position<E> addLeft(Position<E> p, E e); Position<E> addRight(Position<E> p, E e); E set(Position<E> p, E e); void attach(Position<E> p, LinkedBinaryTree<E> t1,
                    LinkedBinaryTree<E> t2); E remove(Position<E> p); String toString(); static void main(String [] args);  }### Answer:
@Test void testAddRight() { LinkedBinaryTree<Integer> bt = new LinkedBinaryTree<Integer>(); Integer c = Integer.parseInt("0"); bt.addRoot(c); bt.addRight(bt.root(), 1); assertEquals(1, bt.right(bt.root()).getElement()); }