You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the result of org.assertj.assertions.generator.util.ClassUtil#getTypeDeclaration correctly handling situations where the contained type is a class:
The text was updated successfully, but these errors were encountered:
martinlau
changed the title
hasBlah assertions generate invalid code when Blah is an Iterable of an interface.
hasXXX assertions generate invalid code when XXX is an Iterable of an interface type.
Sep 30, 2019
martinlau
pushed a commit
to martinlau/assertj-assertions-generator
that referenced
this issue
Sep 30, 2019
Given a class:
the AbstractBlahAssert is generated with code such as:
(note the "interface" keyword in there.)
This is the result of org.assertj.assertions.generator.util.ClassUtil#getTypeDeclaration correctly handling situations where the contained type is a class:
But not when it's an interface:
The text was updated successfully, but these errors were encountered: