//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldHandleTimeWithOffset() public virtual void ShouldHandleTimeWithOffset() { // Given TimeValue time = TimeValue.time(1, 2, 3, 4, "+01:00"); // When time.WriteTo(_converter); // Then object value = _converter.value(); assertThat(value, instanceOf(typeof(OffsetTime))); assertThat(value, equalTo(time.AsObjectCopy())); }