public void ActionQueueValidateEntryIsNotIn_Test() { var actionQueue = new ActionQueue <BusinessLogicEntity, BusinessLogicEntity>(); var entry = new ActionQueueEntry <BusinessLogicEntity, BusinessLogicEntity> { actionClass = new TestAction(), dataIn = new TestModel { id = 100500, simulate_action_error = false, is_unrecoverable = false }, execStatus = ActionExecStatus.Pending }; actionQueue.Add(new ActionQueueEntry <BusinessLogicEntity, BusinessLogicEntity> { actionClass = new TestAction(), dataIn = new TestModel { id = 100501, simulate_action_error = false, is_unrecoverable = false }, execStatus = ActionExecStatus.Pending }); Assert.IsFalse(actionQueue.Contains(entry)); }