title: Moq verify property when method is called
body: <p>I am unit testing a wrapper around WebClient. I want to check at the time calling UploadString, the QueryString property is set to a specific value. I don't need to check the QueryString value after the whole method finish.  </p>
  
  <pre><code>mockedWebClient.Setup(w=&gt;w.UploadString("url2","POST","bodyyy")).Return("response");
  mockedWebClient.Setup(w=&gt;w.QueryString).Return(new NameValueCollection());
  
  testibject.SomeMethod();
  
  // Verify method was called 
  mockedWebClient.Verify(w=&gt;w.UploadString("url2","POST","bodyyy");
  // Also verify QueryString is set at the time UploadString is called???
  </code></pre>