title: In a unit test, do you verify and assert?
body: <p>I am using Moq in my unit test project. Most unit test examples I've seen online end with <code>someMock.VerifyAll();</code>  I wonder if it is OK to assert after <code>VerifyAll()</code>.  So for example, </p>
  
  <pre class="lang-cs prettyprint-override"><code>//Arrange
  var student = new Student{Id = 0, Name="John Doe", IsRegistered = false};
  var studentRepository = new Mock&lt;IStudentRepository&gt;();
  var studentService= new StudentService(studentRepository.Object);
  
  //Act
  studentService.Register(student);  //&lt;-- student.IsRegistered = true now.
  
  //Verify and assert
  studentRepository.VerifyAll();
  Assert.IsTrue(student.IsRegistered);
  </code></pre>
  
  <p>Any thought? Thank you.</p>