summaryrefslogtreecommitdiff
path: root/product/support/unit/Mocking.cs
blob: 1685a976318fd634e7940639915ae04ab9a441ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System;
using Rhino.Mocks;

namespace unit
{
    static public class Mocking
    {
        static public void received<T>(this T mock, Action<T> action) where T : class
        {
            mock.AssertWasCalled(action);
        }
    }
}