summaryrefslogtreecommitdiff
path: root/spec/Create.cs
blob: e3cf47cec681886dbef222a46e8a13bca8bd297f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Moq;

namespace specs
{
    static public class Create
    {
        static public Mock<Stub> an<Stub>() where Stub : class
        {
            return An<Stub>();
        }

        static public Mock<ItemToStub> An<ItemToStub>() where ItemToStub : class
        {
            return new Mock<ItemToStub>();
        }
    }
}