1

Can anyone provide me some idea on how to mock snmp4j framework? There are many complex class hierarchy in it and I am not able decide which classes should i mock?

Is there any built-in class/agent to test snmp ?

Thanks in advance.

SmartSolution
  • 2,320
  • 5
  • 37
  • 49
  • 1
    Could you please provide a sample scenario which is more specific so that it is easier to point out which class should be mocked? – Bala Jan 20 '12 at 19:33
  • Why do you want to mock it? I'd suggest not mocking it - instead wrap it in a class with an interface you specify and just assume that it the framework works as it should. – blank Dec 31 '12 at 14:57
  • I'm currently in desperate need of mock `TableEvents`, for instance. – 2rs2ts Apr 29 '14 at 16:57

0 Answers0