public void ToWorkModelClass_WriteXmlMethod_ThrowsArgumentNullException_IfParameterIsNull()
        {
            ToWorkModel testObject = new ToWorkModel();

            testObject.WriteXml(null);

            Assert.Fail();
        }
        public void ToWorkModelClass_WriteXmlMethod_ThrowsArgumentNullExceptionWithCorrectParamNameProperty_IfParameterIsNull()
        {
            ToWorkModel testObject = new ToWorkModel();

            try
            {
                testObject.WriteXml(null);
                Assert.Fail();
            }
            catch (ArgumentNullException ex)
            {
                Assert.AreEqual("writer", ex.ParamName);
            }
        }