Open philipwhiuk opened 6 years ago
Take a look at fixture.customise().*()
: there are multiple options there that would help to resolve the issue. In your case it's likely a lazyInstance
with a reusable SpecimenSupplier
, or a useSubType(JsValue.class, JsObject.class)
.
Say you get an error like this:
What you really want to do is to customise the fixture with something to implement JsValue.
It would be nice to expand the README with how to do this.