public void TestWithoutNamespace() { bool called = false; var processor = new DisconnectedProcessor(); processor.Process(new MessageContext { Message = string.Empty, DisconnectedHandler = () => called = true }); Assert.IsTrue(called); }
public void TestWithNamespace() { bool called = false; var processor = new DisconnectedProcessor(); processor.Process(new MessageContext { Namespace = "/github", Message = "/github,", DisconnectedHandler = () => called = true }); Assert.IsTrue(called); }