hi, in the doc we see that we can generate feeders for in memory data structures as feeders : in scala , i see we can Map 2 attributes per row however the example in java is only one attribute. how can i Map more than one element per each row .
Array(
Map(“foo” → “foo1”, “bar” → “bar1”),
Map(“foo” → “foo2”, “bar” → “bar2”),
Map(“foo” → “foo3”, “bar” → “bar3”)
).random
in java the doc metion only one element per row :
// using an array
arrayFeeder(new Map[] {
Collections.singletonMap("foo", "foo1"),
Collections.singletonMap("foo", "foo2"),
Collections.singletonMap("foo", "foo3")
}).random();
// using a List
listFeeder(Arrays.asList(
Collections.singletonMap("foo", "foo1"),
Collections.singletonMap("foo", "foo2"),
Collections.singletonMap("foo", "foo3")
)).random();