public void ChildItems_should_return_TreViewItemBuilder_object() { var returnedBuilder = builder.Items(item => { item.Add().Text("Child 1"); }); Assert.IsType(typeof(TreeViewItemBuilder), returnedBuilder); }