c# - Business functionality - RhinoMocks IEnumerable static method mocking -


just basic question hope within rules ask. have been looking information experience "automated testers" have practiced before. business functionality of mocking static ienumerable methods? there attained mocking them? create clutter code/tests? how know worth writing test 1 of ienumerable methods? have read on ways accomplish task of mocking , testing curious purpose serves. wouldn't system methods work fine , not need tested?

please excuse questions if "green" trying deeper understanding/knowledge base of testing.

there no business functionality mocking system ienumerable methods. mock static methods however, should create virtual class calls static methods. mock virtual class allowing "access" static methods in test.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -