Dev2.Tests.ExecutionStatusCallbackDispatcherTests.Remove_Where_ItemsExists_Expect_True C# (CSharp) Method

Remove_Where_ItemsExists_Expect_True() private method

private Remove_Where_ItemsExists_Expect_True ( ) : void
return void
        public void Remove_Where_ItemsExists_Expect_True()
        {
            ExecutionStatusCallbackDispatcher _executionStatusCallbackDispatcher = new ExecutionStatusCallbackDispatcher();

            Guid guid = Guid.NewGuid();
            Action<ExecutionStatusCallbackMessage> callback = m => { };
            _executionStatusCallbackDispatcher.Add(guid, callback);

            const bool expected = true;
            bool actual = _executionStatusCallbackDispatcher.Remove(guid);

            Assert.AreEqual(expected, actual);
        }