Created
May 11, 2012 07:10
-
-
Save chester89/2658076 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Test] | |
public void should_register_type_as_single_implementation() | |
{ | |
Scan(ac => | |
{ | |
ac.AssemblyContainingType<ISingleInterface>(); | |
ac.SingleImplementationsOfInterface(); | |
}); | |
shouldHaveFamily<ISingleInterface>(); | |
} | |
public interface ISingleInterface | |
{ | |
} | |
public class SingleInterface: ISingleInterface | |
{ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment