public void Should_throw_ArgumentNullException_when_converting_megabytes_to_bytes_and_argument_is_lesser_than_zero() { Assert.Throws <ArgumentException>(() => BytesService.ConvertMegabytesToBytes(-1)); }
public override long GetValue() { return(BytesService.ConvertMegabytesToBytes((long)_value)); }
public void Should_convert_megabytes_to_bytes_correctly() { Assert.Equal(10485760, BytesService.ConvertMegabytesToBytes(10L)); }