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