public void Should_NOT_throw_exception_when_initialized_with_list() { Assert.DoesNotThrow(() => NotNullableArray.Init(1)); Assert.AreEqual(new[] { 123 }, NotNullableArray.Init(new[] { 123 })); }
public void Should_throw_exception_when_initialized_with_null() { Assert.Throws <ArgumentNullException>(() => NotNullableArray.Init(null)); }