title: What should a unit test for a tostring method look like?
body: <p>I am in search of help in writing a unitTest for a toString method. I have my property and constructor unit test going good, but we didn't learn about a unit test for a method.  Can anyone help? If more context is needed, please let me know.  The method to be tested is below:</p>
  
  <pre><code>public override string ToString()
      {
          return string.Format("{0}; is a {1} with a resolution of {2} and uses a {3} for media storage",
              base.ToString(), this.Type, this.MegaPixels, this.MediaStorage);
      }
  </code></pre>
  
  <p>And the base.toString():</p>
  
  <pre><code>public override string ToString()
      {
          return string.Format("{0}-{1}; {2}, {3}, {4}; {5} MSRP: {6} Cost: {7}",
              this.Type, this.PartNumber, this.Brand, this.Series, this.Model,
              this.Description, this.MSRP, this.Cost);
      }
  </code></pre>
  
  <p>Thanks</p>