title: How do I assert this method call by AssertWasCalled without testing the method parameters?
body: <p>I want to check whether <strong>LogNotInRange</strong> method is called and I want to ignore testing with what method parameters it was called; I am just interested if <strong>LogNotInRange</strong> was called or not.</p>
  
  <p><strong>What is the correct Rhino Mocks syntax for it (I gave what I have been trying below:) ?</strong></p>
  
  <pre><code>[TestMethod]
          public void MyTestMethod()
          {
              var logger = MockRepository.GenerateMock&lt;ILogManager&gt;();
              var teleporter = new Teleporter() {LogEventManager = logger};
              var message = new message() {IsDone = false};
  
              teleporter.Teleport(message);
  
              // How should I specify parameter1 and parameter2?
              logger.AssertWasCalled(t =&gt; t.LogNotInRange(parameter1, parameter2));
          }
  
  
  
  public void LogNotInRange (object parameter1, object parameter2)
  {
      // some logging logic
  }
  </code></pre>