public void CustomSelectionCustomIdSetFalseTest() { var selection = _customSelectionBuilder.Set("sr:match:12345", "tree:2/0/*/1", 20000, false).Build(); Assert.IsNotNull(selection); Assert.AreEqual("sr:match:12345", selection.EventId); Assert.AreEqual("tree:2/0/*/1", selection.Id); Assert.AreEqual(20000, selection.Odds); Assert.AreEqual(false, selection.IsBanker); }
public void NormalSelectionSetNoOddsTest() { var exThrown = false; try { _selectionBuilder.Set("tr:012-3934-2139", "tree:2/0/*/1", null, false).Build(); } catch (Exception) { exThrown = true; } Assert.IsTrue(exThrown); }