github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jcbozonier / CrutchMocks

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • 8b757bec1fe5cc3a0de7190cfc456e421fc9ff3a
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Extremely simplistic mocking library to help those new to TDD not have to focus on their mocking library. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Removed superfluous code 
Justin Bozonier (author)
Sat Oct 31 09:38:47 -0700 2009
commit  6db025c7bf65d17b9ac41de2c9f34feee4963b56
tree    602222412bc199a8a03fd4c95db60ce0cb2547a5
parent  c87821da554f2a7848935b30ae01e022552ac22e
CrutchMocks / MiniMock / TestProject / When_instantiating_an_empty_interface.cs MiniMock/TestProject/When_instantiating_an_empty_interface.cs
100644 30 lines (24 sloc) 0.554 kb
edit raw blame history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// ReSharper disable InconsistentNaming
using MiniMock.Mocking;
using NUnit.Framework;
 
namespace TestProject
{
[TestFixture]
    public class When_instantiating_an_empty_interface
    {
        private object MockedObject;
 
[Test]
        public void It_should_return_an_object_of_the_same_type()
        {
            Assert.That(MockedObject is IFoo);
        }
 
[SetUp]
        public void Setup()
        {
            MockedObject = Mockery.Mock<IFoo>();
        }
 
        public interface IFoo
        {
 
        }
    }
}
 
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server