public void Verify_ValidateIDIsNull_WithBadData_Should_ThrowAnArgumentException(int id) { Assert.Throws <ArgumentException>( () => BusinessWorkflowBase.ValidateIDIsNull(id)); }
public void Verify_ValidateRequiredNullableID_WithBadData_Should_ThrowAnArgumentNullException(int?id) { Assert.Throws <ArgumentNullException>( () => BusinessWorkflowBase.ValidateRequiredNullableID(id)); }
public void Verify_ValidateIDIsNull_WithGoodData_Should_DoNothing(int id) { BusinessWorkflowBase.ValidateIDIsNull(id); }
public void Verify_ValidateRequiredNullableID_WithGoodData_Should_DoNothing(int?id) { BusinessWorkflowBase.ValidateRequiredNullableID(id); }
public void Verify_ValidateRequiredString_WithBadData_Should_ThrowAnArgumentNullException(string value) { Assert.Throws <ArgumentNullException>( () => BusinessWorkflowBase.ValidateRequiredString(value, nameof(value))); }
public void Verify_ValidateRequiredString_WithGoodData_Should_DoNothing(string value) { BusinessWorkflowBase.ValidateRequiredString(value, nameof(value)); }
public void Verify_ValidateRequiredKey_WithBadData_Should_ThrowAnArgumentNullException(string key) { Assert.Throws <ArgumentNullException>( () => BusinessWorkflowBase.ValidateRequiredKey(key)); }
public void Verify_ValidateRequiredKey_WithGoodData_Should_DoNothing(string key) { BusinessWorkflowBase.ValidateRequiredKey(key); }