public void should_match_specific_objects() { var foo = new Foo(); var blueprint = new SingletonBlueprint(typeof(IFoo), foo); var matchesFoo = blueprint.Matches(new ConstruktionContext(typeof(IFoo))); var matchesString = blueprint.Matches(new ConstruktionContext(typeof(string))); matchesFoo.ShouldBe(true); matchesString.ShouldBe(false); }