Inspection is telling me that I can add the final modifier to
'createCashAccountPersistenceException'. But this is not so. That
variable is set by the test to cause the mock to throw the exception.
Were it be final, no test could set the value.
Is this a bug, or do I not understand something?
> public boolean createCashAccountCalled;
> public com.its.trading.domain.account.Account createCashAccountReturn;
> public com.technoetic.tornado.PersistenceException
>createCashAccountPersistenceException;
> public java.lang.String createCashAccountAccountId;
> public com.its.trading.domain.account.Account createCashAccount(java.lang.String
>accountId) throws com.technoetic.tornado.PersistenceException {
> createCashAccountCalled = true;
> createCashAccountAccountId = accountId;
> if (createCashAccountPersistenceException != null) {
> throw createCashAccountPersistenceException;
> }
> return createCashAccountReturn;
> }
_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features