protected void Invoke([CallerMemberName] string caller = null) { // Arrange string testCasePath = GetPath(caller); string[] args = GetArgs(testCasePath); // Act int result = Compiler.Main(args); // Assert Assert.AreEqual(expectedResult, result); AssertCorrect(testCasePath); }