public void ShouldGetTypeStartingWithCommandName(string commandName) { var matcher = new TypeNameMatcher<IFoo>(new Type[] { FooCommandType }); Assert.Equal(FooCommandType, matcher.GetMatchedType(commandName)); }