public void TestFindFirstAncestorOfType2() { _button.FindFirstAncestorOfType <Grid>().Should().Be(_grid); _flatButton.FindFirstAncestorOfType <Button>().Should().Be(_flatButton); }