Exemplo n.º 1
0
 public void AUT_UserToken_Is_Instance_Present_Test()
 {
     // Assert
     _userTokenInstanceType.ShouldNotBeNull();
     _userTokenInstance.ShouldNotBeNull();
     _userTokenInstanceFixture.ShouldNotBeNull();
     _userTokenInstance.ShouldBeAssignableTo <UserToken>();
     _userTokenInstanceFixture.ShouldBeAssignableTo <UserToken>();
 }
 public void AUT_RunStoredProcedureExecuteRequest_Is_Instance_Present_Test()
 {
     // Assert
     _runStoredProcedureExecuteRequestInstanceType.ShouldNotBeNull();
     _runStoredProcedureExecuteRequestInstance.ShouldNotBeNull();
     _runStoredProcedureExecuteRequestInstanceFixture.ShouldNotBeNull();
     _runStoredProcedureExecuteRequestInstance.ShouldBeAssignableTo <RunStoredProcedureExecuteRequest>();
     _runStoredProcedureExecuteRequestInstanceFixture.ShouldBeAssignableTo <RunStoredProcedureExecuteRequest>();
 }
Exemplo n.º 3
0
 public void AUT_RunStoredProcedureScalarResponse_Is_Instance_Present_Test()
 {
     // Assert
     _runStoredProcedureScalarResponseInstanceType.ShouldNotBeNull();
     _runStoredProcedureScalarResponseInstance.ShouldNotBeNull();
     _runStoredProcedureScalarResponseInstanceFixture.ShouldNotBeNull();
     _runStoredProcedureScalarResponseInstance.ShouldBeAssignableTo <RunStoredProcedureScalarResponse>();
     _runStoredProcedureScalarResponseInstanceFixture.ShouldBeAssignableTo <RunStoredProcedureScalarResponse>();
 }
Exemplo n.º 4
0
 public void AUT_TenroxFaultContract_Is_Instance_Present_Test()
 {
     // Assert
     _tenroxFaultContractInstanceType.ShouldNotBeNull();
     _tenroxFaultContractInstance.ShouldNotBeNull();
     _tenroxFaultContractInstanceFixture.ShouldNotBeNull();
     _tenroxFaultContractInstance.ShouldBeAssignableTo <TenroxFaultContract>();
     _tenroxFaultContractInstanceFixture.ShouldBeAssignableTo <TenroxFaultContract>();
 }
Exemplo n.º 5
0
 public void AUT_ProcessErrorMessagesResponse_Is_Instance_Present_Test()
 {
     // Assert
     _processErrorMessagesResponseInstanceType.ShouldNotBeNull();
     _processErrorMessagesResponseInstance.ShouldNotBeNull();
     _processErrorMessagesResponseInstanceFixture.ShouldNotBeNull();
     _processErrorMessagesResponseInstance.ShouldBeAssignableTo <ProcessErrorMessagesResponse>();
     _processErrorMessagesResponseInstanceFixture.ShouldBeAssignableTo <ProcessErrorMessagesResponse>();
 }
Exemplo n.º 6
0
        public void AUT_Constructor_UserToken_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            UserToken instance = null;

            // Act
            var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance);

            // Assert
            instance.ShouldNotBeNull();
            exception.ShouldBeNull();
            _userTokenInstanceType.ShouldNotBeNull();
            _userTokenInstance.ShouldNotBeNull();
            _userTokenInstanceFixture.ShouldNotBeNull();
            _userTokenInstance.ShouldBeAssignableTo <UserToken>();
            _userTokenInstanceFixture.ShouldBeAssignableTo <UserToken>();
        }
        public void AUT_Constructor_RunStoredProcedureExecuteRequest_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            RunStoredProcedureExecuteRequest instance = null;

            // Act
            var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance);

            // Assert
            instance.ShouldNotBeNull();
            exception.ShouldBeNull();
            _runStoredProcedureExecuteRequestInstanceType.ShouldNotBeNull();
            _runStoredProcedureExecuteRequestInstance.ShouldNotBeNull();
            _runStoredProcedureExecuteRequestInstanceFixture.ShouldNotBeNull();
            _runStoredProcedureExecuteRequestInstance.ShouldBeAssignableTo <RunStoredProcedureExecuteRequest>();
            _runStoredProcedureExecuteRequestInstanceFixture.ShouldBeAssignableTo <RunStoredProcedureExecuteRequest>();
        }
Exemplo n.º 8
0
        public void AUT_Constructor_TenroxFaultContract_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            TenroxFaultContract instance = null;

            // Act
            var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance);

            // Assert
            instance.ShouldNotBeNull();
            exception.ShouldBeNull();
            _tenroxFaultContractInstanceType.ShouldNotBeNull();
            _tenroxFaultContractInstance.ShouldNotBeNull();
            _tenroxFaultContractInstanceFixture.ShouldNotBeNull();
            _tenroxFaultContractInstance.ShouldBeAssignableTo <TenroxFaultContract>();
            _tenroxFaultContractInstanceFixture.ShouldBeAssignableTo <TenroxFaultContract>();
        }
Exemplo n.º 9
0
        public void AUT_Constructor_ProcessErrorMessagesResponse_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            ProcessErrorMessagesResponse instance = null;

            // Act
            var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance);

            // Assert
            instance.ShouldNotBeNull();
            exception.ShouldBeNull();
            _processErrorMessagesResponseInstanceType.ShouldNotBeNull();
            _processErrorMessagesResponseInstance.ShouldNotBeNull();
            _processErrorMessagesResponseInstanceFixture.ShouldNotBeNull();
            _processErrorMessagesResponseInstance.ShouldBeAssignableTo <ProcessErrorMessagesResponse>();
            _processErrorMessagesResponseInstanceFixture.ShouldBeAssignableTo <ProcessErrorMessagesResponse>();
        }