|
|
|
@ -50,8 +50,9 @@ namespace Avalonia.Controls.UnitTests |
|
|
|
Assert.Equal(1, target.GetLogicalChildren().Count()); |
|
|
|
|
|
|
|
var child = target.GetLogicalChildren().Single(); |
|
|
|
Assert.IsType<ContentPresenter>(child); |
|
|
|
Assert.Equal("Foo", ((ContentPresenter)child).Content); |
|
|
|
|
|
|
|
Assert.IsType<TextBlock>(child); |
|
|
|
Assert.Equal("Foo", ((TextBlock)child).Text); |
|
|
|
} |
|
|
|
|
|
|
|
[Fact] |
|
|
|
|