Exemplo n.º 1
0
        public void TestGetBranchId()
        {
            //Arrange
            manager.DatabaseConnection();
            branch.SetDatabase(manager.GetDatabase());
            string branchCode = "Qa";

            //Act
            var branchId = branch.GetBranchID(branchCode);

            if (!string.IsNullOrEmpty(branchId))
            {
                Assert.Pass("Result: Branch Id = " + branchId + ", Status Code: " + ((int)StatusCode.Ok).ToString() + " - " + StatusCode.Ok.ToString());
            }

            Assert.Fail();
        }