public void ToPathsTest() { string expected0 = "0"; FileSpec[] list = new FileSpec[1]; list[0] = new DepotPath(expected0); string[] expected = new string[1]; expected[0] = expected0; string[] actual; actual = FileSpec.ToPaths(list); Assert.AreEqual(expected[0], actual[0]); }