#Mockito: verifying a method changed an attribute of a mock object

1 messages · Page 1 of 1 (latest)

desert light
#

I'm trying to write a JUnit test for a method. The method is given an object and just changes its indentation public attribute. How can I verify that this attribute was changed using Mockito? (The object is a mock)

quartz jasperBOT
#

<@&987246452180930620> please have a look, thanks.

azure dust
desert light
#

I figured it out

#

Ty