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.
これについて助けが必要です:
例:
void method1{ MyObject obj1=new MyObject(); obj1.method1(); }
テストで obj1.method1() をモックしたいのですが、外部から obj1 にアクセスできません。powermock と easymock でこれを行う方法はありますか。これで、powermock と mockito で動作することがわかりました。