Question: I need to create a junit test for all these methods that I have implemented. I got all these methods from: https://docs.oracle.com/javase/8/docs/api/java/util/List.html#add-E- public int size(){

I need to create a junit test for all these methods that I have implemented.

I got all these methods from: https://docs.oracle.com/javase/8/docs/api/java/util/List.html#add-E-

public int size(){ return this.list.size(); } public boolean isEmpty(){ return this.list.isEmpty(); } public boolean contains(Object o){ return this.list.contains(o); } public Iterator iterator(){ return this.iterator(); } public Object[] toArray(){ return this.list.toArray(); } public T[] toArray(T[] a){ return this.list.toArray(a); } public boolean add(E e){ return this.list.add(e); } public boolean remove(Object o){ return this.list.remove(o); } public boolean containsAll(Collection c){ return this.list.containsAll(c); } public boolean addAll(Collection c){ return this.list.addAll(c); } public boolean addAll(int index,Collection c){ return this.list.addAll(index,c); } public boolean removeAll(Collection c){ return this.list.removeAll(c); } public boolean retainAll(Collection c){ return this.list.retainAll(c); } public void clear(){ this.clear(); } public boolean equals(Object o){ return this.list.equals(o); } public E get(int index){ return this.list.get(index); } public E set(int index,E element){ return this.list.set(index,element); } public void add(int index,E element){ this.list.add(index,element); } public E remove(int index){ return this.list.remove(index); } public int indexOf(Object o){ return this.list.indexOf(o); } public int lastIndexOf(Object o){ return this.lastIndexOf(o); } public ListIterator listIterator(){ return this.list.listIterator(); } public ListIterator listIterator(int index){ return this.list.listIterator(index); } public List subList(int fromIndex,int toIndex){ return this.list.subList(fromIndex,toIndex); } public boolean canFight(){ for(int i=0;i

If you could help me also fix my tick method its giving me a error and check my tostring that would be wonderful!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!