public void ResetTest()
 {
     FileMARCXml target = new FileMARCXml();
     target.ImportMARCXml("sandburg.xml");
     target.ImportMARCXml("bigarchive.xml");
     target.MoveNext();
     target.MoveNext();
     target.MoveNext();
     target.Reset();
     target.MoveNext();
     bool expected = true;
     bool actual;
     actual = target.MoveNext();
     Assert.AreEqual(expected, actual);
 }
 public void CurrentTest()
 {
     FileMARCXml target = new FileMARCXml();
     target.ImportMARCXml("sandburg.xml");
     string expected = "01142cam  2200301 a 4500001001300000003000400013005001700017008004100034010001700075020002500092040001800117042000900135050002600144082001600170100003200186245008600218250001200304260005200316300004900368500004000417520022800457650003300685650003300718650002400751650002100775650002300796700002100819   92005291 DLC19930521155141.9920219s1993    caua   j      000 0 eng    a   92005291   a0152038655 :c$15.95  aDLCcDLCdDLC  alcac00aPS3537.A618bA88 199300a811/.522201 aSandburg, Carl,d1878-1967.10aArithmetic /cCarl Sandburg ; illustrated as an anamorphic adventure by Ted Rand.  a1st ed.  aSan Diego :bHarcourt Brace Jovanovich,cc1993.  a1 v. (unpaged) :bill. (some col.) ;c26 cm.  aOne Mylar sheet included in pocket.  aA poem about numbers and their characteristics. Features anamorphic, or distorted, drawings which can be restored to normal by viewing from a particular angle or by viewing the image's reflection in the provided Mylar cone. 0aArithmeticxJuvenile poetry. 0aChildren's poetry, American. 1aArithmeticxPoetry. 1aAmerican poetry. 1aVisual perception.1 aRand, Ted,eill.";
     string actual;
     target.MoveNext();
     object current = target.Current;
     actual = ((Record)current).ToRaw();
     Assert.AreEqual(expected, actual);
     target.Reset();
     current = target.Current; //This will throw an exception
 }