//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test void shouldCloneExtractor() internal virtual void ShouldCloneExtractor() { // GIVEN Extractors extractors = new Extractors(';'); Extractor <string> e1 = extractors.String(); Extractor <string> e2 = e1.Clone(); // WHEN string v1 = "abc"; e1.Extract(v1.ToCharArray(), 0, v1.Length, false); assertEquals(v1, e1.Value()); assertNull(e2.Value()); // THEN string v2 = "def"; e2.Extract(v2.ToCharArray(), 0, v2.Length, false); assertEquals(v2, e2.Value()); assertEquals(v1, e1.Value()); }