public void WhenRender_NestedComponentIsCreated() { var props = new Props.NestedComposite(); renderer = CreateRenderer(() => props); renderer.Render(NewState.Empty); Assert.That(props.Generated.Component, Is.Not.Null); }
public void WhenRender_GeneratedIsAssignedRenderedProperty() { var props = new Props.NestedComposite(); renderer = CreateRenderer(() => props); renderer.Render(NewState.Empty); Assert.That(props.Generated, Is.TypeOf <Props.SimpleComposite>()); }