Mockito Spy Does Not See Correct Primitive Value

I am facing the below problem where, when indirectly updating the fields on a spy object, the spy does NOT see updates on primitive fields, whereas it sees on reference once. As an example: import org….