fixture-monkey
fixture-monkey copied to clipboard
I want fields to be injected with a Kotlin Duration type
Describe the feature you request
The user doesn't understand why the field needs to be injected with the Long type.
sut.giveMeBuilder<DurationValue>()
.set(DurationValue::duration, Long.MAX_VALUE)
.sample()
Suggest A Solution
For ease of use, Duration needs to be modified to allow you to inject Duration values.
sut.giveMeBuilder<DurationValue>()
.set(DurationValue::duration, Duration.INFINITE)
.sample()
If the feature request is approved, would you be willing to submit a PR?
Yes
@this-is-spear Sounds great. Could you make a PR for it?
Okay, good!