generateMockExtensions property
Generate an asMock
extension method for all types which casts it as
the generated mock type.
Due to null safety we can only use the any
matcher on non null params when using the mocked type.
Please read Mockito's Null Safety README for more info.
When using mocktail
, should be set to false
Implementation
final bool generateMockExtensions;