Beispiel #1
0
        public IIgnoreOrCase <TSubject, TResult> Case(
            string description,
            Func <ICombineOrArrangeOrAssert <TSubject, TResult, Dummy, Dummy>, IAssert> succession)
        {
            var testController = _controller.CreateTestController(description);

            succession(TestContainer.Create(testController));
            return(this);
        }
        public IIgnoreOrCase <TSubject, TResult> Case(
            string description,
            Func <ICombineOrArrangeOrAssert <TSubject, TResult, Dummy, Dummy>, IAssert> succession,
            [CallerFilePath] string filePath  = null,
            [CallerLineNumber] int lineNumber = 0)
        {
            var testController = _controller.CreateTestController(description, filePath, lineNumber);

            succession(TestContainer.Create(testController));
            return(this);
        }