public void Year_InvalidArgument_ExceptionThrown() { // act& assert var argumentException = HelperExtensions.Throws <ArgumentException>(() => new Year(_fixture.Create <string>())); }
public void Year_NullArgument_ExceptionThrown() { // act & assert var argumentException = HelperExtensions.Throws <ArgumentException>(() => new Year(null)); }