public void TestMethod10() { invoiceGenerator = new Invoice_Generator(RideType.NORMAL); var exception = Assert.Throws <Cab_Invoice_Exception>(() => invoiceGenerator.GetInvoice(1)); Assert.AreEqual(Cab_Invoice_Exception.ExceptionType.INVALID_USERID, exception.exceptionType); }
public void SetUp() { invoiceGenerator = new Invoice_Generator(); }