public void When_constructing_with_a_string_a_ContentSpan_is_created()
        {
            var contentView = new TestContentView("Four");
            var span        = contentView.GetSpan();

            span.Should().BeOfType <ContentSpan>().Which.Content.Should().Contain("Four");
        }
        public void Measuring_without_span_is_zero_size()
        {
            var contentView = new TestContentView();
            var size        = contentView.Measure(_renderer, new Size(10, 1));

            size.Height.Should().Be(0);
            size.Width.Should().Be(0);
        }
        public void Span_is_not_created_by_default()
        {
            var contentView = new TestContentView();

            contentView.IsSpanNull.Should().BeTrue();
        }