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