public void ManyMultiplier() { var random = new Random(); var i = random.Next(); var j = random.Next(); var route = new DirectRoute(); var value = route.Get<int>("Many/Multiplier", i, j); Assert.AreEqual(i * j, value); }
public void TestNonRoundTrip() { var random = new Random(); var expected = random.Next(); var route = new DirectRoute(); route.Send("TestNon/Set", expected); var value = route.Get<int>("TestNon/Red"); Assert.AreEqual(expected, value); }
public void InvokeRouteUnknown() { var queue = new DirectRoute(); queue.Invoke(Guid.NewGuid().ToString()); }
public void InvokeRouteNull() { var queue = new DirectRoute(); queue.Invoke(null); }