public void Format_TextBox_From_StringValue() { var sut = new NZazuDoubleField(new FieldDefinition { Key = "key" }, ServiceLocator); var control = (TextBox)sut.ValueControl; sut.GetValue().Should().BeNullOrEmpty(); control.Text.Should().BeEmpty(); sut.SetValue("1.4"); control.Text.Should().Be("1.4"); sut.SetValue(""); control.Text.Should().BeEmpty(); }