Could you actually add a verification here for each call? Something like this.
```java
assertThat(button.getProgress()).isEqualTo(2);
assertThat(button.getMax()).isEqualTo(5);
```