Open peteral opened 8 years ago
Power Mock and Java FX don't work together. JavaFXThreading Rule cannot be activated for more than 1 test class because power mock manipulates class loading.
Fuk dis sheet!!!!
Look for another solution
look at https://github.com/TestFX/TestFX
might be a way however only works clean when using one test method in a test class
TestFX imho not yet ready for production use... 0 documentation and many things not working yet
Problem - Java FX uses final classes. Cannot mock them with mockito. Need to migrate to power mock.