// ----------------------------------------------------------------------- // // Copyright 2014 MIT Licence. See licence.md for more information. // // ----------------------------------------------------------------------- namespace Perspex.UnitTests.Styling { using System; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Perspex.Controls; using Perspex.Styling; [TestClass] public class SelectorTests_Multiple { [TestMethod] public void Template_Child_Of_Control_With_Two_Classes() { var template = new ControlTemplate(parent => { return new Border { Id = "border", }; }); var control = new Button { Template = template, }; var selector = new Selector() .OfType