title: Unit (Integration) Test - ( SSH Connection, SNMP, etc) in C#
body: <p>I am new to making Unit Tests. I just started with some for my easy classes and functionality.</p>
  
  <p>But I have some problems with more complex situations.</p>
  
  <p>For example:</p>
  
  <p>I have an method <code>"ResultObject getServerStatus(string ip,string user,string pass,...)"</code></p>
  
  <p>and in this Method an SSH Connection is made to the server and several checks are done. </p>
  
  <p>What is the right way to test (Simulate) such dependencies like "SSH Connection and interaction with SSH Shell" or stuff like "SNMP Requests"? Obviously in my test environment there are no servers  can check or SNMP devices.</p>
  
  <p>What is the correct way to test such complex scenarios and can you point me to some good examples which such dependencies?</p>