Annotation Interface MockitoBeanSettings


@Target(TYPE) @Retention(RUNTIME) @Documented public @interface MockitoBeanSettings
Configure a test class that uses MockitoBean or MockitoSpyBean to set up Mockito with an explicitly specified stubbing strictness.
Since:
6.2
Author:
Simon Baslé
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    org.mockito.quality.Strictness
    The stubbing strictness to apply for all Mockito mocks in the annotated class.
  • Element Details

    • value

      org.mockito.quality.Strictness value
      The stubbing strictness to apply for all Mockito mocks in the annotated class.