PictureCopy implements FitnessFunction { public boolean canCache(){ return true; } PictureCopy();  PictureCopy(Properties p); void setProperties(Properties p); boolean canCache(); void getFitness(Individual i); void init(); void init(String name); static void main(String [] args); public Painting picture; }
@Test public void testCanCache() { System.out.println("canCache"); PictureCopy instance = new PictureCopy(); boolean expResult = true; boolean result = instance.canCache(); assertEquals(expResult, result); }