Annotation Type MockitoSettings


  • @Inherited
    @Retention(RUNTIME)
    @Target(TYPE)
    @Documented
    public @interface MockitoSettings
    Annotation that can configure Mockito settings. Used by MockitoTestNGListener
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      org.mockito.quality.Strictness strictness
      Configure the strictness used in this test.
    • Element Detail

      • strictness

        org.mockito.quality.Strictness strictness
        Configure the strictness used in this test.
        Returns:
        The strictness to configure, by default Strictness.STRICT_STUBS
        Default:
        org.mockito.quality.Strictness.STRICT_STUBS