public void ReturnScheme_GivenReturnIsNull_ThrowsArgumentNullException() { Action constructor = () => { var @return = new ReturnScheme(A.Fake <Domain.Scheme.Scheme>(), null); }; constructor.Should().Throw <ArgumentNullException>(); }
public void ReturnScheme_GivenSchemeIsNull_ThrowsArgumentNullException() { Action constructor = () => { var @return = new ReturnScheme(null, A.Fake <Return>()); }; constructor.Should().Throw <ArgumentNullException>(); }