public void CreateRequiredMethodDefinitions_NoMatch() { var targetClassDefinition = DefinitionObjectMother.CreateTargetClassDefinition(typeof(object)); var requiringMixin = DefinitionObjectMother.CreateMixinDefinition(targetClassDefinition, typeof(string)); var dependency = DefinitionObjectMother.CreateTargetCallDependencyDefinition(requiringMixin); var requirement = dependency.RequiredType; DefinitionObjectMother.AddRequiringDependency(requirement, dependency); var builder = new DuckTypingRequiredMethodDefinitionCollector(targetClassDefinition); builder.CreateRequiredMethodDefinitions(requirement).ToArray(); }