title: Unit testing and assert case for void method
body: <p>I'm trying to create some unit testing for a void method. Basically the method is intended to show the role of a system user and implement it within the software. </p>
  
  <p>This is the method: </p>
  
  <pre><code>public void setPersonObj(Person typeObj)
  {
      this.typeObj = typeObj;
      createMain();
  }
  </code></pre>
  
  <p>How would I create an assert case in a separate class that uses unit testing to check this method?</p>
  
  <p>Many thanks</p>