コード例 #1
0
        public void FindCategoryWithEmptyNameThrowsArgumentException()
        {
            //Arrange
            var expected = new TestableDiagnosticServicesDefaultCateory();

            //Act
            SPDiagnosticsCategory target = expected.FindCategory(string.Empty);
        }
コード例 #2
0
        public void FindCategoryWithNullNameThrowsArgumentNullException()
        {
            //Arrange
            var expected = new TestableDiagnosticServicesDefaultCateory();

            //Act
            SPDiagnosticsCategory target = expected.FindCategory(null);
        }