//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test void clear() internal virtual void Clear() { _set.addAll(1, 2, 3); assertEquals(3, _set.size()); _set.clear(); assertEquals(0, _set.size()); _set.clear(); assertEquals(0, _set.size()); _set.addAll(4, 5, 6); assertEquals(3, _set.size()); _set.clear(); assertEquals(0, _set.size()); }