@Test public void handles() { assertThat(this.instance.handles(Protocol.SMR_5_0_0)).isFalse(); assertThat(this.instance.handles(Protocol.SMR_5_1)).isFalse(); assertThat(this.instance.handles(Protocol.DSMR_4_2_2)).isTrue(); assertThat(this.instance.handles(Protocol.OTHER_PROTOCOL)).isFalse(); assertThat(this.instance.handles(null)).isFalse(); }
@Override public boolean handles(final Protocol protocol) { return protocol == Protocol.DSMR_4_2_2; }
SetConfigurationObjectServiceDsmr4 extends SetConfigurationObjectService { @Override public boolean handles(final Protocol protocol) { return protocol == Protocol.DSMR_4_2_2; } }
SetConfigurationObjectServiceDsmr4 extends SetConfigurationObjectService { @Override public boolean handles(final Protocol protocol) { return protocol == Protocol.DSMR_4_2_2; } SetConfigurationObjectServiceDsmr4(final DlmsHelper dlmsHelper); }
SetConfigurationObjectServiceDsmr4 extends SetConfigurationObjectService { @Override public boolean handles(final Protocol protocol) { return protocol == Protocol.DSMR_4_2_2; } SetConfigurationObjectServiceDsmr4(final DlmsHelper dlmsHelper); @Override boolean handles(final Protocol protocol); }
SetConfigurationObjectServiceDsmr4 extends SetConfigurationObjectService { @Override public boolean handles(final Protocol protocol) { return protocol == Protocol.DSMR_4_2_2; } SetConfigurationObjectServiceDsmr4(final DlmsHelper dlmsHelper); @Override boolean handles(final Protocol protocol);  }