summaryrefslogtreecommitdiff
path: root/spec/Create.cs
blob: 1717ba380f99a08283cea8597f803a67163fd71f (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>();
        }
    }
}