public static DoAllMethodsExistInType ( |
||
type | ||
methodsToRun | IList |
|
리턴 | bool |
public void ShouldNotFindAllMethods() { Assert.That(CompilerService.DoAllMethodsExistInType(typeof(Sample), new List <string>() { "DoStuff", "DoStuff2", "NonexistantMethod" }), Is.False); }
public void ShouldFindAllMethods() { Assert.That(CompilerService.DoAllMethodsExistInType(typeof(Sample), new List <string>() { "DoStuff", "DoStuff2" }), Is.True); }