We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As of now in Java you can use getters to set a value as specified on the documentation.
Order actual = sut.giveMeBuilder(Order.class) .set(javaGetter(Order::getOrderNo), "1") .set(javaGetter(Order::getProductName), "Line Sally") .minSize(javaGetter(Order::getItems), 1) .sample();
I think that it´s to verbose and not as neat as Kotlin where you can just do .setExp(Order::orderNo, "1").
.setExp(Order::orderNo, "1")
I suggest to be a similar syntax as well for Java users.
The text was updated successfully, but these errors were encountered:
@esfomeado Thanks for the suggestion. Do you have any good ideas?
Do you want an API that looks like this?
Order actual = sut.giveMeBuilder(Order.class) .setExpGetter(Order::getOrderNo, 1) .sample();
Sorry, something went wrong.
That looks good to me.
No branches or pull requests
Describe the feature you request
As of now in Java you can use getters to set a value as specified on the documentation.
I think that it´s to verbose and not as neat as Kotlin where you can just do
.setExp(Order::orderNo, "1")
.I suggest to be a similar syntax as well for Java users.
The text was updated successfully, but these errors were encountered: