mmnaseri / spring-data-mock

Mock facility for Spring Data repositories
MIT License
135 stars 44 forks source link

Default inteface methods aren't supported #180

Closed zsadeghi closed 3 years ago

zsadeghi commented 3 years ago

Is your feature request related to a problem? Please describe. Right now there is no easy way to call a default method on a repository interface.

Describe the solution you'd like Be able to use a default method.

Describe alternatives you've considered Registering a DataFunction with the DataFunctionRegistry offers a work-around at the moment, but it is not ideal. Binding an implementation is also an option, but again, not ideal.