public void ShouldReturnScopedCommand(string scope) { var matcher = new TypeNameMatcher<IFoo>(new Type[] { FooCommandType, FooBarCommandType }); matcher.GetMatchedType(string.Concat("foo", scope)); }