private void ProcessTestObjectFromNamedMethod(TestObject testObject, TestDerivedObject derivedObject)
 {
     Assert.IsNotNull(testObject);
     Assert.IsNotNull(derivedObject);
 }
        private TestObject ProcessTestObjectForNamedCodeAsserter(out TestDerivedObject derivedObj)
        {
            TestObject testObj = new TestObject();
            testObj.FirstName = "manish";

            derivedObj = new TestDerivedObject();
            derivedObj.FirstName = "derived";
            derivedObj.MiddleInitial = "m";
            return testObj;
        }
        private TestObject ProcessMixedAsserters(
            [CodeAsserter] out TestDerivedObject derivedObject)
        {
            TestObject testObj = new TestObject();
            testObj.FirstName = "manish";

            derivedObject = new TestDerivedObject();
            derivedObject.FirstName = "derived";
            derivedObject.MiddleInitial = "m";
            return testObj;
        }
 private TestObject ProcessMultipleTestObjects(TestObject parentObj, TestObject baseChildObj, TestDerivedObject derivedChildObj)
 {
     parentObj.Id = 100;
     parentObj.Child = baseChildObj;
     baseChildObj.Child = derivedChildObj;
     return parentObj;
 }
 private TestObject GetMultipleTestObjects(TestObject parentObj, out TestDerivedObject derivedChildObj)
 {
     derivedChildObj = (TestDerivedObject)parentObj.Child;
     return parentObj;
 }