//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldHandleDateTimeWithZoneId() public virtual void ShouldHandleDateTimeWithZoneId() { // Given DateTimeValue dvalue = DateTimeValue.datetime(1, 2, 3, 4, 5, 6, 7, ZoneId.of("Europe/Stockholm")); // When dvalue.WriteTo(_converter); // Then object value = _converter.value(); assertThat(value, instanceOf(typeof(ZonedDateTime))); assertThat(value, equalTo(dvalue.AsObjectCopy())); }