Пример #1
0
 public void ValidateArgumentNullExceptionIfParameterIsNull_GivenOverloadedMethods_ShouldTestMethodWithParameterNameMatch(string parameterName)
 {
     //---------------Set up test pack-------------------
     //---------------Assert Precondition----------------
     //---------------Execute Test ----------------------
     MethodTestHelper.ValidateArgumentNullExceptionIfParameterIsNull <FakeMethodTest>("OverloadedMethod", parameterName);
     //---------------Test Result -----------------------
 }
 public void AddStateData_GivenNullParameterValue_ShouldThrowException(string parameterName)
 {
     //---------------Set up test pack-------------------
     //---------------Assert Precondition----------------
     //---------------Execute Test ----------------------
     MethodTestHelper.ValidateArgumentNullExceptionIfParameterIsNull <FakeStatefulMessage>("AddStateData", parameterName);
     //---------------Test Result -----------------------
 }
 public void Method_GivenNullParameter_ShouldThrowException(string methodName, string parameterName)
 {
     //---------------Set up test pack-------------------
     //---------------Assert Precondition----------------
     //---------------Execute Test ----------------------
     MethodTestHelper.ValidateArgumentNullExceptionIfParameterIsNull <SqliteDbConnectionProvider>(methodName, parameterName);
     //---------------Test Result -----------------------
 }