Skip to content

Commit

Permalink
Merge pull request #1859 from mockito/ongoing-stubbing-not-extensible
Browse files Browse the repository at this point in the history
Add NotExtensible to OngoingStubbing
  • Loading branch information
mockitoguy committed Jan 15, 2020
2 parents 089e817 + dd8b078 commit 64e7eb5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/mockito/stubbing/OngoingStubbing.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
package org.mockito.stubbing;

import org.mockito.Mockito;
import org.mockito.NotExtensible;

/**
* Simply put: "<b>When</b> the x method is called <b>then</b> return y". E.g:
Expand All @@ -31,6 +32,7 @@
*
* See examples in javadoc for {@link Mockito#when}
*/
@NotExtensible
public interface OngoingStubbing<T> {

/**
Expand Down

0 comments on commit 64e7eb5

Please sign in to comment.