Description
For simple methods fuzzer can and should generate test that fills collection with some data. Consider this example:
public <T> Map<String, T> sortedMap(Map<String, T> source) {
return new TreeMap<>(source);
}
Both fuzzer and symbolic execution create empty map. But this test is not very interesting. Fuzzer should add some values into a map to run it with them and check, how it affects the result.
Description
For simple methods fuzzer can and should generate test that fills collection with some data. Consider this example:
Both fuzzer and symbolic execution create empty map. But this test is not very interesting. Fuzzer should add some values into a map to run it with them and check, how it affects the result.