@Test
public void execute() throws ProtocolAdapterException {

    // SETUP
    final DlmsDevice device = new DlmsDevice();
    final Protocol protocol = Protocol.DSMR_4_2_2;
    device.setProtocol(protocol);
    when(this.protocolServiceLookup.lookupGetService(protocol)).thenReturn(this.getService);
    when(this.getService.getConfigurationObject(this.conn)).thenReturn(this.configurationObjectDto);
    // CALL
    final ConfigurationObjectDto result = this.instance.execute(this.conn, device, null);
    // VERIFY
    assertThat(result).isSameAs(this.configurationObjectDto);
}