コード例 #1
0
        public void GetTableNumber_ReturnsTableNumber_String()
        {
            int        id            = 0;
            string     tableNumber   = "4";
            DateTime   orderDate     = new DateTime(2019, 3, 12);
            TableOrder newTableOrder = new TableOrder(tableNumber, orderDate, id);
            string     result        = newTableOrder.GetTableNumber();

            Assert.AreEqual(result, tableNumber);
        }