@Test
public void testDateTimeSummerTimeWithDeviationAndDstFromOtherTimeZone() {

    /*
     * The date and time on the device should be set according to the
     * deviation and daylight savings information provided as parameters.
     * The time of the server can be given in another time zone than the
     * device is in, but the instant in time should remain the same.
     *
     * This test has a time input as if a server in the UTC time zone would
     * be synchronizing time on a device in the Amsterdam time zone.
     */
    final DataObject dateInSummerTimeDataObject = this.dlmsHelper.asDataObject(this.dateTimeSummerTimeUtc(), -120,
            true);
    assertThat(dateInSummerTimeDataObject.isCosemDateFormat()).isTrue();
    assertThat(dateInSummerTimeDataObject.getValue() instanceof CosemDateTime).isTrue();
    final CosemDateTime cosemDateTime = dateInSummerTimeDataObject.getValue();
    assertThat(cosemDateTime.encode()).isEqualTo(this.byteArraySummerTime());
}