public void WhenGivenNullAndNoParameter_NullIsReturned() { var actual = AssemblyArgumentsBuilderExtension.GetArgumentFromStringProperty(StringProperty, null, parameter: null); Assert.That(actual, Is.Null); }
public void WhenGivenStringPropertyAndNoParameter_FormatsProperly() { var actual = AssemblyArgumentsBuilderExtension.GetArgumentFromStringProperty(StringProperty, "tubo", parameter: null); Assert.That(actual, Is.EqualTo("string:\"tubo\"")); }