### Question:
CustomListFieldDataProvider implements FieldDataProvider<OUTPUT_TYPE, List<VALUE_TYPE>> { @Override public List<VALUE_TYPE> generate(OUTPUT_TYPE instance) { List<VALUE_TYPE> ret = new ArrayList<>(mInstances); for (int i = 0; i < mInstances; ++i) { ret.add(mFieldDataProvider.generate(instance)); } return ret; } CustomListFieldDataProvider(int pInstances, FieldDataProvider<OUTPUT_TYPE, VALUE_TYPE> pFieldDataProvider); @Override List<VALUE_TYPE> generate(OUTPUT_TYPE instance);  }### Answer:
@Test public void givenFixedSizeListOfRandomBytesWhenGenerateThenReturnsSameBytes() { final String EXPECTED_RESULT_1 = "I'm the king of the world!"; final String EXPECTED_RESULT_2 = "I'm on a boat!"; final String EXPECTED_RESULT_3 = "I'm cold!"; given(fieldDataProvider.generate(null)).willReturn(EXPECTED_RESULT_1, EXPECTED_RESULT_2, EXPECTED_RESULT_3); List<String> result = mCut.generate(null); assertEquals(Arrays.asList(EXPECTED_RESULT_1, EXPECTED_RESULT_2, EXPECTED_RESULT_3), result); }