Пример #1
0
        public string AttributeTest(object parameter)
        {
            string result = PublishPositionExe.Attribute(parameter);

            return(result);
            // TODO: add assertions to method PublishPositionExeTest.AttributeTest(Object)
        }
Пример #2
0
        public void AttributeTest()
        {
            //Arrange
            string action = "PositionInfo";

            publish.UserID     = "mif";
            publish.Operate    = action;
            publish.SchoolYear = "20192020";
            publish.SchoolCode = "0549";
            publish.PositionID = getNewPublishID("LTO").ToString();
            //act
            string expect = "0549";

            //Act
            string result = PublishPositionExe.Attribute(parameter);

            //Assert
            Assert.IsNotNull(result, $"request position Info  { result} .");
        }