Пример #1
0
        public void TestCreateNewItemReport()
        {
            // arrange
            ItemReport itemReport = new ItemReport()
            {
                Report   = "Report Field: Test Create New Item Report",
                ItemID   = 10000,
                ItemName = "Item A",
                Quantity = 10
            };
            bool created        = false;
            bool expectedResult = true;

            // act
            created = _itemReportManager.createNewItemReport(itemReport);

            // assert
            Assert.AreEqual(expectedResult, created);
        }