コード例 #1
0
        public void AUT_SocialEngineProxy_GetTransaction_Static_Method_DirectCall_Throw_Exception_Test()
        {
            // Arrange
            var    webId         = CreateType <Guid>();
            var    listId        = CreateType <Guid>();
            var    itemId        = CreateType <int>();
            var    contextWeb    = CreateType <SPWeb>();
            Action executeAction = null;

            // Act
            executeAction = () => SocialEngineProxy.GetTransaction(webId, listId, itemId, contextWeb);

            // Assert
            Should.Throw <Exception>(executeAction);
        }