public void SetUp() { // ToDo: Implement SetUp logic here var method = new CodeMemberMethod(); this.binder = method.StaticClass("ReferencedClass"); this.message = "Value of message"; this.inner = new System.Exception(); this.testObject = new CodeTypeReferenceException(this.binder, this.message, this.inner); }