public void WhenGivenNull_NullIsReturned() { var actual = ArgumentsBuilderExtension.GetArgumentFromNullableIntProperty(NullableIntProperty, null); Assert.That(actual, Is.Null); }
public void WhenGivenValue_FormatsProperly() { var actual = ArgumentsBuilderExtension.GetArgumentFromNullableIntProperty(NullableIntProperty, 5); Assert.That(actual, Is.EqualTo("--nullable-int 5")); }