src/GenFx.Tests/RandomNumberServiceTest.cs
/// <summary>
/// Tests that an exception is thrown when <see cref="RandomNumberService.Instance"/> is set to null.
/// </summary>
Tests that an exception is thrown when  is set to null.
Tests that an exception is thrown when is set to null .
[Fact]
        public void RandomNumberService_Instance_Null()
        {
            Assert.Throws<ArgumentNullException>(() => RandomNumberService.Instance = null);
        }
[ Fact ] public void RandomNumberService_Instance_Null ( ) { Assert . Throws < ArgumentNullException > ( ( ) => RandomNumberService . Instance = null ) ; }
Tests that an exception is thrown when  is set to null.
Tests that an exception is thrown when is set to null .