how8586 / powermock

Automatically exported from code.google.com/p/powermock
Apache License 2.0
0 stars 0 forks source link

Mocking breaks Java 8 streams framework. #516

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Unzip the eclipse project attached to the issue
2. Run the unit test.

What is the expected output? What do you see instead?

Expected the test to pass but it fails with 
org.powermock.reflect.exceptions.MethodNotFoundException: No methods matching 
the name(s) stream were found in the class hierarchy of class 
java.util.ArrayList.

What version of the product are you using? On what operating system?

Powermock 1.5.5 on Windows 8.1 with Java 8

Original issue reported on code.google.com by BinisBe...@gmail.com on 3 Sep 2014 at 8:31

Attachments:

GoogleCodeExporter commented 9 years ago
Its fixed with 1.5.6

Original comment by BinisBe...@gmail.com on 19 Sep 2014 at 8:02