EasyMock 基本原則: 隔離:這是初衷,也是單元測試的根本要求 Just Enough:夠就行了,別少,但也別多 Interaction-based:與之相對的,Stub是state-based ...