// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using Avalonia.Controls; using Avalonia.Controls.Templates; using Avalonia.VisualTree; using Xunit; namespace Avalonia.Styling.UnitTests { public class SelectorTests_Multiple { [Fact] public void Template_Child_Of_Control_With_Two_Classes() { var template = new FuncControlTemplate(parent => { return new Border { Name = "border", }; }); var control = new Button { Template = template, }; control.ApplyTemplate(); var selector = default(Selector) .OfType