Skip to content

Commit

Permalink
Fixes #1853: Allow @MockitoSettings to be inherited
Browse files Browse the repository at this point in the history
  • Loading branch information
fmendezMegasoft committed Jan 2, 2020
1 parent 11552b8 commit fe3a45b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.quality.Strictness;

import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;

import static java.lang.annotation.RetentionPolicy.RUNTIME;
Expand All @@ -15,6 +16,7 @@
* Annotation that can configure Mockito as invoked by the {@link MockitoExtension}.
*/
@ExtendWith(MockitoExtension.class)
@Inherited
@Retention(RUNTIME)
public @interface MockitoSettings {

Expand Down

0 comments on commit fe3a45b

Please sign in to comment.