Update to Mockito 2.10.0
Issue: gh-4608
This commit is contained in:
@@ -100,7 +100,6 @@ public class AndMessageMatcherTest {
|
||||
@Test
|
||||
public void matchesMultiBothFalse() {
|
||||
when(delegate.matches(message)).thenReturn(false);
|
||||
when(delegate2.matches(message)).thenReturn(false);
|
||||
matcher = new AndMessageMatcher<Object>(delegate, delegate2);
|
||||
|
||||
assertThat(matcher.matches(message)).isFalse();
|
||||
|
||||
@@ -83,7 +83,6 @@ public class OrMessageMatcherTest {
|
||||
@Test
|
||||
public void matchesMultiTrue() {
|
||||
when(delegate.matches(message)).thenReturn(true);
|
||||
when(delegate2.matches(message)).thenReturn(true);
|
||||
matcher = new OrMessageMatcher<Object>(delegate, delegate2);
|
||||
|
||||
assertThat(matcher.matches(message)).isTrue();
|
||||
@@ -109,7 +108,6 @@ public class OrMessageMatcherTest {
|
||||
@Test
|
||||
public void matchesMultiSingleFalse() {
|
||||
when(delegate.matches(message)).thenReturn(true);
|
||||
when(delegate2.matches(message)).thenReturn(false);
|
||||
matcher = new OrMessageMatcher<Object>(delegate, delegate2);
|
||||
|
||||
assertThat(matcher.matches(message)).isTrue();
|
||||
|
||||
Reference in New Issue
Block a user