public void AppendTest() { Media_Accessor target = new Media_Accessor(); target.AddJS("http://example.com/myfile.js"); target.AddJS("local.js"); Media source = new Media(); source.AddJS("local.js"); source.AddJS("local2.js"); source.AddCss("http://example.com/myfile.css"); target.Append(source); Assert.AreEqual(3, target._js.Count); Assert.AreEqual(1, target._css.Count); }