Package br.com.six2six.fixturefactory.function

Examples of br.com.six2six.fixturefactory.function.AtomicFunction.generateValue()


  @Override
  public <T> T generateValue() {
    List<T> results = new ArrayList<T>();
    AtomicFunction function = new RandomFunction(clazz);
    for (int i = 0; i < quantity; i++) {
      results.add((T) function.generateValue());
    }
   
    return (T) results;
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.