public void AUT_MoreInformation_PullMoreInfoFromOnline_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodPullMoreInfoFromOnlinePrametersTypes = null; object[] parametersOfPullMoreInfoFromOnline = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodPullMoreInfoFromOnline, methodPullMoreInfoFromOnlinePrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_moreInformationInstanceFixture, parametersOfPullMoreInfoFromOnline); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfPullMoreInfoFromOnline.ShouldBeNull(); methodPullMoreInfoFromOnlinePrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_MoreInformation_LoadPageContentByTempId_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodLoadPageContentByTempIdPrametersTypes = null; object[] parametersOfLoadPageContentByTempId = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodLoadPageContentByTempId, methodLoadPageContentByTempIdPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_moreInformationInstanceFixture, parametersOfLoadPageContentByTempId); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfLoadPageContentByTempId.ShouldBeNull(); methodLoadPageContentByTempIdPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_WorkspaceListWPCanvas_RenderHTML_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodRenderHTMLPrametersTypes = null; object[] parametersOfRenderHTML = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodRenderHTML, methodRenderHTMLPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_workspaceListWPCanvasInstanceFixture, parametersOfRenderHTML); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfRenderHTML.ShouldBeNull(); methodRenderHTMLPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_DaysHoursBreakdownField_Initialize_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodInitializePrametersTypes = null; object[] parametersOfInitialize = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodInitialize, methodInitializePrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_daysHoursBreakdownFieldInstanceFixture, parametersOfInitialize); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfInitialize.ShouldBeNull(); methodInitializePrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_ReportingServicesToolPart_ApplyChanges_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodApplyChangesPrametersTypes = null; object[] parametersOfApplyChanges = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodApplyChanges, methodApplyChangesPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_reportingServicesToolPartInstanceFixture, parametersOfApplyChanges); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfApplyChanges.ShouldBeNull(); methodApplyChangesPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_CustomQuikLnch_AuthenticateUser_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodAuthenticateUserPrametersTypes = null; object[] parametersOfAuthenticateUser = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodAuthenticateUser, methodAuthenticateUserPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_customQuikLnchInstanceFixture, parametersOfAuthenticateUser); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfAuthenticateUser.ShouldBeNull(); methodAuthenticateUserPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_Comments_EnsureCommentsListExist_Static_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodEnsureCommentsListExistPrametersTypes = null; object[] parametersOfEnsureCommentsListExist = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodEnsureCommentsListExist, methodEnsureCommentsListExistPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_commentsInstanceFixture, parametersOfEnsureCommentsListExist); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfEnsureCommentsListExist.ShouldBeNull(); methodEnsureCommentsListExistPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_MyWork_RegisterRibbon_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodRegisterRibbonPrametersTypes = null; object[] parametersOfRegisterRibbon = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodRegisterRibbon, methodRegisterRibbonPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_myWorkInstanceFixture, parametersOfRegisterRibbon); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfRegisterRibbon.ShouldBeNull(); methodRegisterRibbonPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_VfData_DisablePageCaching_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodDisablePageCachingPrametersTypes = null; object[] parametersOfDisablePageCaching = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodDisablePageCaching, methodDisablePageCachingPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_vfDataInstanceFixture, parametersOfDisablePageCaching); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfDisablePageCaching.ShouldBeNull(); methodDisablePageCachingPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_BuildTeam_AddTabEvents_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodAddTabEventsPrametersTypes = null; object[] parametersOfAddTabEvents = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodAddTabEvents, methodAddTabEventsPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_buildTeamInstanceFixture, parametersOfAddTabEvents); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfAddTabEvents.ShouldBeNull(); methodAddTabEventsPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_UpgradeReportingDBHelper_UpgradeListMappings_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodUpgradeListMappingsPrametersTypes = null; object[] parametersOfUpgradeListMappings = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodUpgradeListMappings, methodUpgradeListMappingsPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_upgradeReportingDBHelperInstanceFixture, parametersOfUpgradeListMappings); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfUpgradeListMappings.ShouldBeNull(); methodUpgradeListMappingsPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_ListLookupEdit_PopulateLookupFieldsFields_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodPopulateLookupFieldsFieldsPrametersTypes = null; object[] parametersOfPopulateLookupFieldsFields = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodPopulateLookupFieldsFields, methodPopulateLookupFieldsFieldsPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_listLookupEditInstanceFixture, parametersOfPopulateLookupFieldsFields); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfPopulateLookupFieldsFields.ShouldBeNull(); methodPopulateLookupFieldsFieldsPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_WEPeopleEditorAjaxHandler_IssueQuery_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodIssueQueryPrametersTypes = null; object[] parametersOfIssueQuery = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodIssueQuery, methodIssueQueryPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_wEPeopleEditorAjaxHandlerInstanceFixture, parametersOfIssueQuery); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfIssueQuery.ShouldBeNull(); methodIssueQueryPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_PFEBase_Dispose_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodDisposePrametersTypes = null; object[] parametersOfDispose = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodDispose, methodDisposePrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_pFEBaseInstanceFixture, parametersOfDispose); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfDispose.ShouldBeNull(); methodDisposePrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_ImportResources_IsImportResourceAlreadyRunning_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodIsImportResourceAlreadyRunningPrametersTypes = null; object[] parametersOfIsImportResourceAlreadyRunning = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodIsImportResourceAlreadyRunning, methodIsImportResourceAlreadyRunningPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_importResourcesInstanceFixture, parametersOfIsImportResourceAlreadyRunning); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfIsImportResourceAlreadyRunning.ShouldBeNull(); methodIsImportResourceAlreadyRunningPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_BaseJob_finishJob_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodfinishJobPrametersTypes = null; object[] parametersOffinishJob = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodfinishJob, methodfinishJobPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_baseJobInstanceFixture, parametersOffinishJob); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOffinishJob.ShouldBeNull(); methodfinishJobPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_CustomTopNav_CheckTopNavInheritance_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodCheckTopNavInheritancePrametersTypes = null; object[] parametersOfCheckTopNavInheritance = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodCheckTopNavInheritance, methodCheckTopNavInheritancePrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_customTopNavInstanceFixture, parametersOfCheckTopNavInheritance); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfCheckTopNavInheritance.ShouldBeNull(); methodCheckTopNavInheritancePrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_CustomTopNav_LoadTopNavBarNodeCollInMemory_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodLoadTopNavBarNodeCollInMemoryPrametersTypes = null; object[] parametersOfLoadTopNavBarNodeCollInMemory = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodLoadTopNavBarNodeCollInMemory, methodLoadTopNavBarNodeCollInMemoryPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_customTopNavInstanceFixture, parametersOfLoadTopNavBarNodeCollInMemory); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfLoadTopNavBarNodeCollInMemory.ShouldBeNull(); methodLoadTopNavBarNodeCollInMemoryPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_Proxy_CheckUStatus_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodCheckUStatusPrametersTypes = null; object[] parametersOfCheckUStatus = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodCheckUStatus, methodCheckUStatusPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_proxyInstanceFixture, parametersOfCheckUStatus); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfCheckUStatus.ShouldBeNull(); methodCheckUStatusPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_PFEResourcePermissionsFieldControl_UpdateFieldValueInItem_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodUpdateFieldValueInItemPrametersTypes = null; object[] parametersOfUpdateFieldValueInItem = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodUpdateFieldValueInItem, methodUpdateFieldValueInItemPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_pFEResourcePermissionsFieldControlInstanceFixture, parametersOfUpdateFieldValueInItem); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfUpdateFieldValueInItem.ShouldBeNull(); methodUpdateFieldValueInItemPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_Getsingleitem_outputXml_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodoutputXmlPrametersTypes = null; object[] parametersOfoutputXml = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodoutputXml, methodoutputXmlPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_getsingleitemInstanceFixture, parametersOfoutputXml); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfoutputXml.ShouldBeNull(); methodoutputXmlPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_ManageableLists_CreateChildControls_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodCreateChildControlsPrametersTypes = null; object[] parametersOfCreateChildControls = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodCreateChildControls, methodCreateChildControlsPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_manageableListsInstanceFixture, parametersOfCreateChildControls); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfCreateChildControls.ShouldBeNull(); methodCreateChildControlsPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_FilteredLookupField_Update_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodUpdatePrametersTypes = null; object[] parametersOfUpdate = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodUpdate, methodUpdatePrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_filteredLookupFieldInstanceFixture, parametersOfUpdate); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfUpdate.ShouldBeNull(); methodUpdatePrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_UpdateWebPart_SaveChartProperties_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodSaveChartPropertiesPrametersTypes = null; object[] parametersOfSaveChartProperties = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodSaveChartProperties, methodSaveChartPropertiesPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_updateWebPartInstanceFixture, parametersOfSaveChartProperties); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfSaveChartProperties.ShouldBeNull(); methodSaveChartPropertiesPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_AsyncNavActions_OutputResult_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange Type [] methodOutputResultPrametersTypes = null; object[] parametersOfOutputResult = null; // no parameter present Exception exception = null; var methodInfo = GetMethodInfo(MethodOutputResult, methodOutputResultPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_asyncNavActionsInstanceFixture, parametersOfOutputResult); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfOutputResult.ShouldBeNull(); methodOutputResultPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_AddFragment_FillPublicFragmentsGrid_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange this.ValidateExecuteCondition(MethodFillPublicFragmentsGrid); Type [] methodFillPublicFragmentsGridPrametersTypes = null; object[] parametersOfFillPublicFragmentsGrid = null; // no parameter present Exception exception = null; var methodInfo = this.GetMethodInfo(MethodFillPublicFragmentsGrid, methodFillPublicFragmentsGridPrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_addFragmentInstanceFixture, parametersOfFillPublicFragmentsGrid); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfFillPublicFragmentsGrid.ShouldBeNull(); methodFillPublicFragmentsGridPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_EditableFieldDisplay_RenderField_Static_Method_DirectCall_Throw_Exception_Test() { // Arrange var field = CreateType <SPField>(); var where = CreateType <string>(); var conditionField = CreateType <string>(); var condition = CreateType <string>(); var group = CreateType <string>(); var valueCondition = CreateType <string>(); var li = CreateType <SPListItem>(); Action executeAction = null; // Act executeAction = () => EditableFieldDisplay.RenderField(field, where, conditionField, condition, group, valueCondition, li); // Assert Should.Throw <Exception>(executeAction); }
public void AUT_SingletonSpecimenBuilderNodeStackAdapterCollection_UpdateGraph_Method_Call_Void_With_No_Parameters_Call_Throw_Exception_Thrown_Test() { // Arrange this.ValidateExecuteCondition(MethodUpdateGraph); Type [] methodUpdateGraphParametersTypes = null; object[] parametersOfUpdateGraph = null; // no parameter present Exception exception = null; var methodInfo = this.GetMethodInfo(MethodUpdateGraph, methodUpdateGraphParametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_singletonSpecimenBuilderNodeStackAdapterCollectionInstanceFixture, parametersOfUpdateGraph); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfUpdateGraph.ShouldBeNull(); methodUpdateGraphParametersTypes.ShouldBeNull(); Should.Throw <Exception>(currentAction); }
public void AUT_RecentItemsLinkProvider_GetRecentItems_Method_Call_With_No_Parameters_Call_Results_ShouldBe_Null_If_Not_Premitive_Type_Test() { // Arrange Type [] methodGetRecentItemsPrametersTypes = null; object[] parametersOfGetRecentItems = null; // no parameter present Exception exception, exception1; var methodInfo = GetMethodInfo(MethodGetRecentItems, methodGetRecentItemsPrametersTypes, out exception); // Act var result1 = methodInfo.GetResultMethodInfo <RecentItemsLinkProvider, IEnumerable <NavLink> >(_recentItemsLinkProviderInstanceFixture, out exception1, parametersOfGetRecentItems); var result2 = ReflectionAnalyzer.GetResultOfMethod <RecentItemsLinkProvider, IEnumerable <NavLink> >(_recentItemsLinkProviderInstance, MethodGetRecentItems, parametersOfGetRecentItems, methodGetRecentItemsPrametersTypes); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); result1.ShouldBeNull(); result2.ShouldBeNull(); parametersOfGetRecentItems.ShouldBeNull(); methodGetRecentItemsPrametersTypes.ShouldBeNull(); Should.Throw <Exception>(() => methodInfo.Invoke(_recentItemsLinkProviderInstanceFixture, parametersOfGetRecentItems)); }
public void AUT_TimeOffSyncEvent_Synchronize_Static_Method_Call_Void_With_1_Parameters_Throw_Exception_Thrown_Test() { // Arrange var properties = CreateType <SPItemEventProperties>(); var methodSynchronizePrametersTypes = new Type[] { typeof(SPItemEventProperties) }; object[] parametersOfSynchronize = { properties }; Exception exception = null; var methodInfo = GetMethodInfo(MethodSynchronize, methodSynchronizePrametersTypes, out exception); // Act Action currentAction = () => methodInfo.Invoke(_timeOffSyncEventInstanceFixture, parametersOfSynchronize); // Assert methodInfo.ShouldNotBeNull(); exception.ShouldBeNull(); parametersOfSynchronize.ShouldNotBeNull(); parametersOfSynchronize.Length.ShouldBe(1); methodSynchronizePrametersTypes.Length.ShouldBe(1); Should.Throw <Exception>(currentAction); }