public void OnResolveFileConflict_NoInvokeRequired_NonThreadSafeOnResolveFileConflictMethodCalledWithMessage()
        {
            CreateEvents();
            threadSafeEvents.OnResolveFileConflict("message");

            Assert.AreEqual("message", fakeEvents.MessagePassedToOnResolveFileConflict);
        }
        public void OnResolveFileConflict_NoInvokeRequired_NonThreadSafeOnResolveFileConflictMethodCalledWithMessage()
        {
            CreateEvents();
            string message = null;

            unsafeEvents.ResolveFileConflict += (sender, e) => message = e.Message.ToString();

            threadSafeEvents.OnResolveFileConflict("message");

            Assert.AreEqual("message", message);
        }