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 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
Get step-by-step solutions from verified subject matter experts
