Exemple #1
0
        public void Test_SetDataForObjectView_ServiceName_CheckStringNormal()
        {
            // arrange
            ServiceKeyworddBLL service = new ServiceKeyworddBLL();


            // act
            View_ServiceName serviceName = service.SetDataForObjectView_ServiceName("123@Test");

            // assert
            Assert.IsNotNull(serviceName);
        }
Exemple #2
0
        public void Test_SetDataForObjectView_ServiceName_CheckStringSpecialA()
        {
            // arrange
            ServiceKeyworddBLL service = new ServiceKeyworddBLL();


            // act
            View_ServiceName serviceName = service.SetDataForObjectView_ServiceName("A@");

            // assert
            Assert.IsNull(serviceName);
        }