public void WhenFalse_NullIsReturned() { var actual = ArgumentsBuilderExtension.GetArgumentFromBoolProperty(BoolProperty, false); Assert.That(actual, Is.Null); }
public void WhenTrue_FormatsProperly() { var actual = ArgumentsBuilderExtension.GetArgumentFromBoolProperty(BoolProperty, true); Assert.That(actual, Is.EqualTo("--bool")); }