public void Should_be_possible_to_collect_UserSID55_objects() { var userSIDProber = new UserSID55Prober(); ProberBehaviorCreator .CreateBehaviorForNormalFlowExecution( userSIDProber, FakeItemsToBeReturnedByItemTypeGenerator, FakeCollectedItems); var probeExecutionResult = userSIDProber.Execute(FakeContext, FakeTargetInfo, FakeCollectInfo); DoAssertForSingleCollectedObject(probeExecutionResult, typeof(user_sid_item)); }
public void If_any_occurs_while_item_type_creation_an_item_with_error_status_must_be_returned_for_UserSID55() { var userSIDProber = new UserSID55Prober(); ProberBehaviorCreator.CreateBehaviorWithExceptionThrowing(userSIDProber); var probeExecutionResult = userSIDProber.Execute(FakeContext, FakeTargetInfo, FakeCollectInfo); DoAssertForExecutionWithErrors(probeExecutionResult, typeof(user_sid_item)); }