All Downloads are FREE. Search and download functionalities are using the official Maven repository.

autofixture.implementationdetails.ErrorMessages Maven / Gradle / Ivy

Go to download

An attempt to reimplement core features of a popular .NET anonymous value generator - AutoFixture - in Java

There is a newer version: 2.1.10
Show newest version
package autofixture.implementationdetails;

public class ErrorMessages {
  public static String msg(final String methodName) {
    return "generic types are not allowed for this method. " +
        "Try Any." + methodName + "(new InstanceOf>() {}).";
  }

  public static String msgInline(final String methodName) {
    return "generic types are not allowed for this method. " +
        "Try Any." + methodName + "(new InstanceOf>() {}, generator).";
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy