generateMockitoAnnotation property

bool generateMockitoAnnotation
final

if true, Mockito's own @GenerateMocks annotation will be added to the generated mock method. useMockitoGeneratedTypes must be true as well.

if false but useMockitoGeneratedTypes is true, then you should include a @GenerateMocks to the mock method yourself.

Implementation

final bool generateMockitoAnnotation;