Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4VQVEJWetTT1dYzyJ
18 lines
795 B
Plaintext
18 lines
795 B
Plaintext
field(Person.class, "doesNotExist"), first 8 lines:
|
|
org.instancio.exception.InstancioApiException:
|
|
|
|
Error creating an object
|
|
-> at lab.instancio.CustomiseTest.lambda$unusedSelectorsAreAnErrorByDefault$0(CustomiseTest.java:138)
|
|
|
|
Reason: invalid field 'doesNotExist' for class lab.instancio.domain.Person
|
|
set(field(Order::status), ..) on an Address graph, first 8 lines:
|
|
org.instancio.exception.UnusedSelectorException:
|
|
Found unused selectors referenced in the following methods:
|
|
|
|
-> Unused selector in: set()
|
|
1: field(Order::status)
|
|
at lab.instancio.CustomiseTest.lambda$unusedSelectorsAreAnErrorByDefault$1(CustomiseTest.java:139)
|
|
|
|
This error aims to highlight potential problems and help maintain clean test code.
|
|
with .lenient() the same call succeeds: true
|