public void GetAllLinksShouldWork() { string[] values = { "1", "2", "3", "4", "5", "6" }; mockProcessor.ExpectAndReturn("GetStringArray", new string[] { "1", "2", "3", "4", "5", "6" }, new object[] { "getAllLinks", new string[] {} }); string[] actualResult = selenium.GetAllLinks(); Assert.AreEqual(new string[] { "1", "2", "3", "4", "5", "6" }, actualResult); }