@Test
public void testSetSettingThatIsAlreadySet() throws OsgpException {

    // Setting notifications that are not different from what is on the
    // meter already,
    // should always be successful.
    final AccessResultCode res = this.execute(new AlarmNotificationDto(AlarmTypeDto.REPLACE_BATTERY, true));
    assertThat(res).isEqualTo(AccessResultCode.SUCCESS);
    // Since nothing changed, not a single message should have been sent to
    // the meter.
    assertThat(this.setParametersReceived.size()).isEqualTo(0);
}