We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have the follwing test using Mockito and fest-assert Version 1.4. Assert.assertEquals is the normal JUnit-assert.
@Test public void bugReport() { // Arrange final Iterator<String> result = mock(Iterator.class); final List<String> listMock = mock(List.class); when(listMock.iterator()).thenReturn(result); // Act final Iterator<String> testResult = listMock.iterator(); // Assert Assert.assertSame(result, testResult); assertThat(testResult).isEqualTo(result); }
It fails at the last line. The problem is that is compares a org.fest.assertions.IteratorAssert.PrettyPrintIterator with result. This fails.
The text was updated successfully, but these errors were encountered:
Same for Type java.util.ListIterator<String>.
java.util.ListIterator<String>
Sorry, something went wrong.
No branches or pull requests
I have the follwing test using Mockito and fest-assert Version 1.4. Assert.assertEquals is the normal JUnit-assert.
It fails at the last line. The problem is that is compares a org.fest.assertions.IteratorAssert.PrettyPrintIterator with result. This fails.
The text was updated successfully, but these errors were encountered: