public void CreateParameterValidatesParametersTest(Type instanceType, Type parameterType, string parameterName) { var target = new DefaultBuildLog(); Action action = () => target.CreateParameter(instanceType, parameterType, parameterName, null); action.ShouldThrow<ArgumentNullException>(); }
public void CreateParameterAppendsLogEntryTest() { var target = new DefaultBuildLog(); target.CreateParameter(typeof(Person), typeof(string), "FirstName", null); target.Output.Should().NotBeNullOrWhiteSpace(); }