I have a " Worker" class which has a method "DoWork()". DoWork method
has several step to do work. it also make a call to static method of
Utility class. How do i mock this static utility?

public interface IWorker
    {
        public void DoWork(IContext context);
    }

    public class Worker:IWorker
    {
        public void DoWork(IContext context)
        {
            // Do something here

            Utility.Calculate(context.Info);
        }
    }

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhinomocks?hl=en.

Reply via email to