Hi
I have a piece of code
My question comes from equals method in the block
I had a Myclass object which did not have a testValue associated with it now when i ran the
test i got an Invocation exception . This example is in customized form so it might not throw exception . However, in the real code we had to use a getter in the code block as:-
I could not understand why this worked because fields for the calling object are same in either case . CAn anyone explain ?