public static DoAllMethodsExistInType ( |
||
type | ||
methodsToRun | IList |
|
return | 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); }