//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void nextValue() public virtual void NextValue() { HashSet <Type> all = new HashSet <Type>(_types); all.Add(typeof(ArrayValue)); HashSet <Type> seen = new HashSet <Type>(all); for (int i = 0; i < ITERATIONS; i++) { Value value = RandomValues.nextValue(); AssertKnownType(value.GetType(), all); MarkSeen(value.GetType(), seen); } assertThat(seen, empty()); }