MongoDB.Driver.TestOid.TestNullValue C# (CSharp) Method

TestNullValue() private method

private TestNullValue ( ) : void
return void
        public void TestNullValue()
        {
            bool thrown = false;
            try{
                new Oid(String.Empty);
            }catch(Exception){
                thrown = true;
            }
            Assert.IsTrue(thrown,"Null value exception not thrown");
        }