//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @ParameterizedTest @MethodSource("parameters") void shouldMapToJavaObject(AnyValue value) internal virtual void ShouldMapToJavaObject(AnyValue value) { // given ValueMapper <object> mapper = new Mapper(); // when object mapped = value.Map(mapper); // then assertEquals(value, ValueOf(mapped)); }
public static Value CoerceToBoolean(AnyValue value) { return(value.Map(_booleanMapper)); }