public void GetCompatibleMethods_OneMethodWithNoParameters_NoMethodsReturnedInCompatibleMethods() { CreateDesignerGenerator(); ParseInformation parseInfo = generator.CreateParseInfoWithOneMethod("button1_click"); generator.ParseInfoToReturnFromParseFile = parseInfo; ICollection methods = CallGetCompatibleMethods(); Assert.AreEqual(0, methods.Count); }
void CreateParseInfoWithOneMethod(string name) { parseInfo = generator.CreateParseInfoWithOneMethod(name); }