public void Given_Message_When_InvokeDelegate_Then_ShouldCalledSmsAndEmail()
        {
            //the Assert part of this test will be completed in tell dont ask topic
            var delegateMethod = new DelegateMethod(new Communication());

            _message = "Test Message";
            delegateMethod.InvokeCommunication(_message);
        }
示例#2
0
        public void Given_Message_When_InvokeDelegate_Then_ShouldCalledSmsAndEmail()
        {
            //the Assert part of this test will be completed in tell dont ask topic
            var delegateMethod = new DelegateMethod(new Communication());
            _message = "Test Message";
            delegateMethod.InvokeCommunication(_message);

        }