Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 PowerMock 来模拟静态方法。我需要验证静态和非静态方法调用的顺序。可以使用 PowerMock 吗?
UPD
我使用 powermockito 扩展来模拟静态方法,因此使用 powermockito 扩展的解决方案更可取。
似乎没有实施http://code.google.com/p/powermock/issues/detail?id=279&q=inorder