public void SetUp() { _control = new FilterTextBox { Style = (Style)App.Instance.FindResource(typeof(FilterTextBox)) }; _control.ApplyTemplate().Should().BeTrue(); }