Stubs the list addIfMissing method.