### Question:
WeightedFieldDataProvidersFieldDataProvider implements FieldDataProvider<OUTPUT_TYPE, VALUE_TYPE> { @Override public VALUE_TYPE generate(OUTPUT_TYPE instance) { return generateRandomValue(instance); } WeightedFieldDataProvidersFieldDataProvider(Random pRandom, FieldDataProvider<OUTPUT_TYPE, VALUE_TYPE> pFieldDataProvider); void addFieldDataProvider(FieldDataProvider<OUTPUT_TYPE, VALUE_TYPE> pFieldDataProvider, double pWeight); @Override VALUE_TYPE generate(OUTPUT_TYPE instance);  }### Answer:
@Test public void givenAnyInstanceWhenGenerateThenReturnsFirstValue() { TestClass instance = new TestClass(); String result = mCut.generate(instance); assertEquals(FIRST_VALUE, result); }