It should be no problem for PowerMock to mock an abstract method. This
probably works even with plain EasyMock.
I don't see replayAll or any other replay method call? This must be
called for the mockbehavior to be replayed.
Are you sure that you get NPE at this line Object o =
(String)map.get("prop1") ??
I also think that it is unnecessary to mock a Map. Simply create an
HashMap and populate it with the values you want.
/Jan