CannotMockFinalClass
Mockito cannot mock final classes

Severity
WARNING

The problem

Mockito cannot mock final classes. See https://github.com/mockito/mockito/wiki/FAQ for details.

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("CannotMockFinalClass") to the enclosing element.