Question: I need help identifying the two tests for these files. I ' m only allowed to make modifications to the java and not the @Test

I need help identifying the two tests for these files. I'm only allowed to make modifications to the java and not the @Test file::
package io.collective;
import java.time.Clock;
public class SimpleAgedCache {
private int size; //add variable
public SimpleAgedCache(Clock clock){
}
public SimpleAgedCache(){
}
public void put(Object key, Object value, int retentionInMillis){
size++; //Increment size
// Implement storing the key-value pair in a data structure like an array, hashmap, or linked list.
}
public boolean isEmpty(){
if (size ==0)
return true;
else
return false;
}
public int size(){
return size;
}
public Object get(Object key){
// Implement retrieving the value for the given key from the data structure.
return null;
}
}
--------------------
package io.collective;
import java.time.Clock;
public class SimpleAgedCache {
private int size; //add variable
public SimpleAgedCache(Clock clock){
}
public SimpleAgedCache(){
}
public void put(Object key, Object value, int retentionInMillis){
size++; //Increment size
// Implement storing the key-value pair in a data structure like an array, hashmap, or linked list.
}
public boolean isEmpty(){
if (size ==0)
return true;
else
return false;
}
public int size(){
return size;
}
public Object get(Object key){
// Implement retrieving the value for the given key from the data structure.
return null;
}
}

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 Programming Questions!