### Question:
ListOps { static <T> int size(List<T> list) { throw new UnsupportedOperationException("Delete this statement and write your own implementation."); } private  ListOps();   }### Answer:
@Ignore("Remove to run test") @Test public void testSizeOfEmptyList() { assertEquals(0, ListOps.size(Collections.emptyList())); }
@Ignore("Remove to run test") @Test public void testSizeOfNonEmptyList() { assertEquals(4, ListOps.size(Arrays.asList("one", "two", "three", "four"))); }