I'm working under quite old app which uses LWUIT for UI.
I'm trying currently to write unit tests for MIDlet class but because there are a lot of LWUIT static methods calls it's quite hard to make it properly working even with PowerMock.
Does anyone have example of what should be completely mocked, suppressed to finally have these tests run?