public void NegativeValueTest()
 {
     int value = 0;
     string message = "yowsa";
     // this should throw an exception for invalid value field
     DivisorRequest dr = new DivisorRequest(value, message);
     Assert.Fail("no exception thrown");
 }
 public void NegativeMessageTest()
 {
     int value = 0;
     string message = "";
     // this should throw an exception for empty message
     DivisorRequest dr = new DivisorRequest(value, message);
     Assert.Fail("no exception thrown");
 }
        public void PositiveValueTest()
        {
            int value = 3;
            string message = "yowsa";

            // POsitive test - provide valid values (value > 0, message is populated)
            DivisorRequest dr = new DivisorRequest(value, message);

            // object should be constructed with the same values as provided by the constructor
            Assert.AreEqual(dr.Value, value);

            //UnitTestAssertException()
        }
 /// <summary>
 /// Consumer will provide (a) number to check for and (b) word to replace it with
 /// </summary>
 /// <param name="request">Populated request object</param>
 public void AddRequest(DivisorRequest request)
 {
     _requests.Add(request);
 }