Native AOT Support via Source Generator + UnsafeAccessor Architecture #49
73 passed, 19 failed and 0 skipped
βΒ tests/LocalStack.Client.Tests/TestResults/net472_results.trx
92 tests were completed in 10s with 73 passed, 19 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| LocalStack.Client.Tests.ConfigTests.ConfigOptionsTests | 6β | 141ms | ||
| LocalStack.Client.Tests.ConfigTests.ConfigurationTests | 29β | 425ms | ||
| LocalStack.Client.Tests.ConstantsTests | 1β | 5ms | ||
| LocalStack.Client.Tests.SessionTests.SessionLocalStackTests | 19β | 19β | 3s | |
| LocalStack.Client.Tests.SessionTests.SessionOptionsTests | 6β | 62ms | ||
| LocalStack.Client.Tests.SessionTests.SessionReflectionTests | 12β | 2s |
β Β LocalStack.Client.Tests.ConfigTests.ConfigOptionsTests
β
ConfigOptions_Should_Created_With_Default_Parameters_If_It_Created_By_Default_Constructor
β
ConfigOptions_Should_Created_With_Default_Parameters_If_It_Created_By_Parameterized_Constructor_And_Non_Of_The_Parameters_Has_Set
β
EdgePort_Property_Of_ConfigOptions_Should_Equal_To_Given_EdgePort_Constructor_Parameter
β
LocalStackHost_Property_Of_ConfigOptions_Should_Equal_To_Given_LocalStackHost_Constructor_Parameter
β
UseLegacyPorts_Property_Of_ConfigOptions_Should_Equal_To_Given_UseLegacyPorts_Constructor_Parameter
β
UseSsl_Property_Of_ConfigOptions_Should_Equal_To_Given_UseSsl_Constructor_Parameter
β Β LocalStack.Client.Tests.ConfigTests.ConfigurationTests
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_Host_Property_Equals_Set_LocalStackHost_Property_Of_ConfigOptions
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_Port_Property_Equals_To_Set_EdgePort_Property_Of_ConfigOptions_If_UseLegacyPorts_Property_Is_False
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_Protocol_Property_Equals_To_Https_Or_Http_If_Set_UseSsl_Property_Of_ConfigOptions_Equals_True_Or_False(useSsl: False, expectedProtocol: "http")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_Protocol_Property_Equals_To_Https_Or_Http_If_Set_UseSsl_Property_Of_ConfigOptions_Equals_True_Or_False(useSsl: True, expectedProtocol: "https")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_Protocol_Property_Of_Every_Item_Equals_To_Https_Or_Http_If_Set_UseSsl_Property_Of_ConfigOptions_Equals_True_Or_False(useSsl: False, expectedProtocol: "http")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_Protocol_Property_Of_Every_Item_Equals_To_Https_Or_Http_If_Set_UseSsl_Property_Of_ConfigOptions_Equals_True_Or_False(useSsl: True, expectedProtocol: "https")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_ServiceUrl_Property_Equals_To_Combination_Of_Host_Protocol_And_Port(useLegacyPorts: False, useSsl: False, localStackHost: "localhost", edgePort: 1111, expectedServiceUrl: "http://localhost:1111")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_ServiceUrl_Property_Equals_To_Combination_Of_Host_Protocol_And_Port(useLegacyPorts: False, useSsl: False, localStackHost: "myHost3", edgePort: 4432, expectedServiceUrl: "http://myHost3:4432")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_ServiceUrl_Property_Equals_To_Combination_Of_Host_Protocol_And_Port(useLegacyPorts: False, useSsl: True, localStackHost: "localhost", edgePort: 1111, expectedServiceUrl: "https://localhost:1111")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_ServiceUrl_Property_Equals_To_Combination_Of_Host_Protocol_And_Port(useLegacyPorts: False, useSsl: True, localStackHost: "myHost4", edgePort: 2124, expectedServiceUrl: "https://myHost4:2124")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_ServiceUrl_Property_Equals_To_Combination_Of_Host_Protocol_And_Port(useLegacyPorts: True, useSsl: False, localStackHost: "localhost", edgePort: 1111, expectedServiceUrl: "http://localhost")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_ServiceUrl_Property_Equals_To_Combination_Of_Host_Protocol_And_Port(useLegacyPorts: True, useSsl: False, localStackHost: "myHost", edgePort: 2222, expectedServiceUrl: "http://myHost")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_ServiceUrl_Property_Equals_To_Combination_Of_Host_Protocol_And_Port(useLegacyPorts: True, useSsl: True, localStackHost: "localhost", edgePort: 1111, expectedServiceUrl: "https://localhost")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_ServiceUrl_Property_Equals_To_Combination_Of_Host_Protocol_And_Port(useLegacyPorts: True, useSsl: True, localStackHost: "myHost2", edgePort: 3334, expectedServiceUrl: "https://myHost2")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_ServiceUrl_Property_Property_Of_Every_Item_Equals_To_Combination_Of_Host_Protocol_And_Port(useLegacyPorts: False, useSsl: False, localStackHost: "localhost", edgePort: 1111, expectedServiceUrl: "http://localhost:1111")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_ServiceUrl_Property_Property_Of_Every_Item_Equals_To_Combination_Of_Host_Protocol_And_Port(useLegacyPorts: False, useSsl: False, localStackHost: "myHost3", edgePort: 4432, expectedServiceUrl: "http://myHost3:4432")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_ServiceUrl_Property_Property_Of_Every_Item_Equals_To_Combination_Of_Host_Protocol_And_Port(useLegacyPorts: False, useSsl: True, localStackHost: "localhost", edgePort: 1111, expectedServiceUrl: "https://localhost:1111")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_ServiceUrl_Property_Property_Of_Every_Item_Equals_To_Combination_Of_Host_Protocol_And_Port(useLegacyPorts: False, useSsl: True, localStackHost: "myHost4", edgePort: 2124, expectedServiceUrl: "https://myHost4:2124")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_ServiceUrl_Property_Property_Of_Every_Item_Equals_To_Combination_Of_Host_Protocol_And_Port(useLegacyPorts: True, useSsl: False, localStackHost: "localhost", edgePort: 1111, expectedServiceUrl: "http://localhost")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_ServiceUrl_Property_Property_Of_Every_Item_Equals_To_Combination_Of_Host_Protocol_And_Port(useLegacyPorts: True, useSsl: False, localStackHost: "myHost", edgePort: 2222, expectedServiceUrl: "http://myHost")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_ServiceUrl_Property_Property_Of_Every_Item_Equals_To_Combination_Of_Host_Protocol_And_Port(useLegacyPorts: True, useSsl: True, localStackHost: "localhost", edgePort: 1111, expectedServiceUrl: "https://localhost")
β
GetAwsServiceEndpoint_Should_Return_AwsServiceEndpoint_That_ServiceUrl_Property_Property_Of_Every_Item_Equals_To_Combination_Of_Host_Protocol_And_Port(useLegacyPorts: True, useSsl: True, localStackHost: "myHost2", edgePort: 3334, expectedServiceUrl: "https://myHost2")
β
GetAwsServiceEndpoints_Should_Return_List_Of_AwsServiceEndpoint_That_Host_Property_Of_Every_Item_Equals_By_Set_LocalStackHost_Property_Of_ConfigOptions
β
GetAwsServiceEndpoints_Should_Return_List_Of_AwsServiceEndpoint_That_Port_Property_Of_Every_Item_Equals_To_Set_EdgePort_Property_Of_ConfigOptions_If_UseLegacyPorts_Property_Is_False
β
GetAwsServicePort_Should_Return_Integer_Port_Value_That_Equals_To_Port_Property_Of_Related_AwsServiceEndpoint_If_UseLegacyPorts_Property_Is_True
β
GetAwsServicePort_Should_Return_Integer_Port_Value_That_Equals_To_Set_EdgePort_Property_Of_ConfigOptions_If_UseLegacyPorts_Property_Is_False
β
GetAwsServicePorts_Should_Return_AwsServiceEnum_And_Integer_Port_Value_Pair_That_Port_Property_Of_The_Pair_Equals_To_Port_Property_Of_Related_AwsServiceEndpoint_If_UseLegacyPorts_Property_Is_True
β
GetAwsServicePorts_Should_Return_AwsServiceEnum_And_Integer_Port_Value_Pair_That_Port_Property_Of_The_Pair_Equals_To_Set_EdgePort_Property_Of_ConfigOptions_If_UseLegacyPorts_Property_Is_False
β
GetConfigOptions_Should_Return_Given_ConfigOptions
β Β LocalStack.Client.Tests.ConstantsTests
β
All_Constants_Should_Be_Equal_Appropriate_Defaults
βΒ LocalStack.Client.Tests.SessionTests.SessionLocalStackTests
β CreateClientByImplementation_Should_Create_AmazonServiceClient_By_Given_Generic_Type_And_Configure_ServiceUrl_Or_RegionEndpoint_By_Given_UseServiceUrl_Parameter(useServiceUrl: False)
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β CreateClientByImplementation_Should_Create_AmazonServiceClient_By_Given_Generic_Type_And_Configure_ServiceUrl_Or_RegionEndpoint_By_Given_UseServiceUrl_Parameter(useServiceUrl: True)
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β CreateClientByImplementation_Should_Create_ClientConfig_With_UseHttp_And_ProxyHost_And_ProxyPort_By_ServiceEndpoint_Configuration
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β CreateClientByImplementation_Should_Create_ClientConfig_With_UseHttp_Set_Bey_ConfigOptions_UseSsl(useSsl: False)
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β CreateClientByImplementation_Should_Create_ClientConfig_With_UseHttp_Set_Bey_ConfigOptions_UseSsl(useSsl: True)
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β CreateClientByImplementation_Should_Create_SessionAWSCredentials_With_AwsAccessKeyId_And_AwsAccessKey_And_AwsSessionToken
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β CreateClientByImplementation_Should_Pass_The_ClientConfig_To_SetForcePathStyle
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "af-south-1")
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "ap-southeast-1")
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "ca-central-1")
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "eu-central-1")
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "eu-west-2")
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "sa-east-1")
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "us-west-1")
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β CreateClientByImplementation_Should_Set_ServiceUrl_By_ServiceEndpoint_Configuration_And_RegionEndpoint_To_Null_If_Given_UseServiceUrl_Parameter_Is_True_Regardless_Of_Use_RegionName_Property_Of_SessionOptions_Has_Value_Or_Not(systemName: "sa-east-1")
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β CreateClientByImplementation_Should_Set_ServiceUrl_By_ServiceEndpoint_Configuration_And_RegionEndpoint_To_Null_If_Given_UseServiceUrl_Parameter_Is_True_Regardless_Of_Use_RegionName_Property_Of_SessionOptions_Has_Value_Or_Not(systemName: null)
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β
CreateClientByImplementation_Should_Throw_MisconfiguredClientException_If_Given_RegionName_Property_Of_SessionOptions_IsNullOrEmpty_And_Given_UseServiceUrl_Is_False
β CreateClientByImplementation_Should_Throw_NotSupportedClientException_If_Given_ServiceId_Is_Not_Supported
Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(LocalStack.Client.Exceptions.NotSupportedClientException)
Actual: typeof(Moq.MockException)
---- Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β
CreateClientByInterface_Should_Create_AmazonServiceClient_By_Given_Generic_Type_And_Configure_ServiceUrl_Or_RegionEndpoint_By_Given_UseServiceUrl_Parameter(useServiceUrl: False)
β
CreateClientByInterface_Should_Create_AmazonServiceClient_By_Given_Generic_Type_And_Configure_ServiceUrl_Or_RegionEndpoint_By_Given_UseServiceUrl_Parameter(useServiceUrl: True)
β CreateClientByInterface_Should_Create_Client_And_Set_Configurations
Moq.MockException : IConfig.GetConfigOptions() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β
CreateClientByInterface_Should_Create_ClientConfig_With_UseHttp_And_ProxyHost_And_ProxyPort_By_ServiceEndpoint_Configuration
β
CreateClientByInterface_Should_Create_ClientConfig_With_UseHttp_Set_Bey_ConfigOptions_UseSsl(useSsl: False)
β
CreateClientByInterface_Should_Create_ClientConfig_With_UseHttp_Set_Bey_ConfigOptions_UseSsl(useSsl: True)
β
CreateClientByInterface_Should_Create_SessionAWSCredentials_With_AwsAccessKeyId_And_AwsAccessKey_And_AwsSessionToken
β
CreateClientByInterface_Should_Pass_The_ClientConfig_To_SetForcePathStyle
β
CreateClientByInterface_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "af-south-1")
β
CreateClientByInterface_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "ap-southeast-1")
β
CreateClientByInterface_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "ca-central-1")
β
CreateClientByInterface_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "eu-central-1")
β
CreateClientByInterface_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "eu-west-2")
β
CreateClientByInterface_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "sa-east-1")
β
CreateClientByInterface_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "us-west-1")
β
CreateClientByInterface_Should_Set_ServiceUrl_By_ServiceEndpoint_Configuration_And_RegionEndpoint_To_Null_If_Given_UseServiceUrl_Parameter_Is_True_Regardless_Of_Use_RegionName_Property_Of_SessionOptions_Has_Value_Or_Not(systemName: "sa-east-1")
β
CreateClientByInterface_Should_Set_ServiceUrl_By_ServiceEndpoint_Configuration_And_RegionEndpoint_To_Null_If_Given_UseServiceUrl_Parameter_Is_True_Regardless_Of_Use_RegionName_Property_Of_SessionOptions_Has_Value_Or_Not(systemName: null)
β CreateClientByInterface_Should_Throw_AmazonClientException_If_Given_AwsClientConfig_Could_Not_Constructed
Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(System.ArgumentException)
Actual: typeof(Moq.MockException)
---- Moq.MockException : ISessionReflection.ExtractServiceMetadata(LocalStack.Tests.Common.Mocks.MockServiceClients.MockAmazonServiceClient) invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
β
CreateClientByInterface_Should_Throw_MisconfiguredClientException_If_Given_RegionName_Property_Of_SessionOptions_IsNullOrEmpty_And_Given_UseServiceUrl_Is_False
β
CreateClientByInterface_Should_Throw_NotSupportedClientException_If_Given_ServiceId_Is_Not_Supported
β Β LocalStack.Client.Tests.SessionTests.SessionOptionsTests
β
AwsAccessKey_Property_Of_ConfigOptions_Should_Equal_To_Given_AwsAccessKey_Constructor_Parameter
β
AwsAccessKeyId_Property_Of_ConfigOptions_Should_Equal_To_Given_AwsAccessKeyId_Constructor_Parameter
β
AwsSessionToken_Property_Of_ConfigOptions_Should_Equal_To_Given_AwsSessionToken_Constructor_Parameter
β
RegionName_Property_Of_ConfigOptions_Should_Equal_To_Given_RegionName_Constructor_Parameter
β
SessionOptions_Should_Created_With_Default_Parameters_If_It_Created_By_Default_Constructor
β
SessionOptions_Should_Created_With_Default_Parameters_If_It_Created_By_Parameterized_Constructor_And_Non_Of_The_Parameters_Has_Set
β Β LocalStack.Client.Tests.SessionTests.SessionReflectionTests
β
CreateClientConfig_Should_Create_ClientConfig_By_Given_Generic_Service_Client_Type
β
ExtractServiceMetadata_Should_Return_Extracted_ServiceMetadata
β
ExtractServiceMetadata_Should_Throw_InvalidOperationException_If_Given_Generic_Service_Client_Type_Has_Not_Service_Metadata_Field
β
SetClientRegion_Should_Set_RegionEndpoint_Of_The_Given_Client_By_System_Name(systemName: "af-south-1")
β
SetClientRegion_Should_Set_RegionEndpoint_Of_The_Given_Client_By_System_Name(systemName: "ap-southeast-1")
β
SetClientRegion_Should_Set_RegionEndpoint_Of_The_Given_Client_By_System_Name(systemName: "ca-central-1")
β
SetClientRegion_Should_Set_RegionEndpoint_Of_The_Given_Client_By_System_Name(systemName: "eu-central-1")
β
SetClientRegion_Should_Set_RegionEndpoint_Of_The_Given_Client_By_System_Name(systemName: "eu-west-2")
β
SetClientRegion_Should_Set_RegionEndpoint_Of_The_Given_Client_By_System_Name(systemName: "sa-east-1")
β
SetClientRegion_Should_Set_RegionEndpoint_Of_The_Given_Client_By_System_Name(systemName: "us-west-1")
β
SetForcePathStyle_Should_Return_False_If_Given_ClientConfig_Does_Not_Have_ForcePathStyle
β
SetForcePathStyle_Should_Set_ForcePathStyle_Of_ClientConfig_If_It_Exists
Annotations
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByImplementation_Should_Create_AmazonServiceClient_By_Given_Generic_Type_And_Configure_ServiceUrl_Or_RegionEndpoint_By_Given_UseServiceUrl_Parameter(useServiceUrl: False)
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata[0] () [0x00051] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByImplementation[TClient] (System.Boolean useServiceUrl) [0x00020] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByImplementation_Should_Create_AmazonServiceClient_By_Given_Generic_Type_And_Configure_ServiceUrl_Or_RegionEndpoint_By_Given_UseServiceUrl_Parameter (System.Boolean useServiceUrl) [0x003a1] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByImplementation_Should_Create_AmazonServiceClient_By_Given_Generic_Type_And_Configure_ServiceUrl_Or_RegionEndpoint_By_Given_UseServiceUrl_Parameter(useServiceUrl: True)
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata[0] () [0x00051] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByImplementation[TClient] (System.Boolean useServiceUrl) [0x00020] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByImplementation_Should_Create_AmazonServiceClient_By_Given_Generic_Type_And_Configure_ServiceUrl_Or_RegionEndpoint_By_Given_UseServiceUrl_Parameter (System.Boolean useServiceUrl) [0x003a1] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByImplementation_Should_Create_ClientConfig_With_UseHttp_And_ProxyHost_And_ProxyPort_By_ServiceEndpoint_Configuration
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata[0] () [0x00051] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByImplementation[TClient] (System.Boolean useServiceUrl) [0x00020] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByImplementation_Should_Create_ClientConfig_With_UseHttp_And_ProxyHost_And_ProxyPort_By_ServiceEndpoint_Configuration () [0x00394] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByImplementation_Should_Create_ClientConfig_With_UseHttp_Set_Bey_ConfigOptions_UseSsl(useSsl: False)
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata[0] () [0x00051] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByImplementation[TClient] (System.Boolean useServiceUrl) [0x00020] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByImplementation_Should_Create_ClientConfig_With_UseHttp_Set_Bey_ConfigOptions_UseSsl (System.Boolean useSsl) [0x00390] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByImplementation_Should_Create_ClientConfig_With_UseHttp_Set_Bey_ConfigOptions_UseSsl(useSsl: True)
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata[0] () [0x00051] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByImplementation[TClient] (System.Boolean useServiceUrl) [0x00020] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByImplementation_Should_Create_ClientConfig_With_UseHttp_Set_Bey_ConfigOptions_UseSsl (System.Boolean useSsl) [0x00390] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByImplementation_Should_Create_SessionAWSCredentials_With_AwsAccessKeyId_And_AwsAccessKey_And_AwsSessionToken
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata[0] () [0x00051] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByImplementation[TClient] (System.Boolean useServiceUrl) [0x00020] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByImplementation_Should_Create_SessionAWSCredentials_With_AwsAccessKeyId_And_AwsAccessKey_And_AwsSessionToken () [0x003b0] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByImplementation_Should_Pass_The_ClientConfig_To_SetForcePathStyle
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata[0] () [0x00051] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByImplementation[TClient] (System.Boolean useServiceUrl) [0x00020] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByImplementation_Should_Pass_The_ClientConfig_To_SetForcePathStyle () [0x00387] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "af-south-1")
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata[0] () [0x00051] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByImplementation[TClient] (System.Boolean useServiceUrl) [0x00020] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty (System.String systemName) [0x0039d] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "ap-southeast-1")
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata[0] () [0x00051] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByImplementation[TClient] (System.Boolean useServiceUrl) [0x00020] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty (System.String systemName) [0x0039d] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "ca-central-1")
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata[0] () [0x00051] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByImplementation[TClient] (System.Boolean useServiceUrl) [0x00020] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty (System.String systemName) [0x0039d] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "eu-central-1")
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata[0] () [0x00051] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByImplementation[TClient] (System.Boolean useServiceUrl) [0x00020] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty (System.String systemName) [0x0039d] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "eu-west-2")
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata[0] () [0x00051] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByImplementation[TClient] (System.Boolean useServiceUrl) [0x00020] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty (System.String systemName) [0x0039d] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "sa-east-1")
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata[0] () [0x00051] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByImplementation[TClient] (System.Boolean useServiceUrl) [0x00020] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty (System.String systemName) [0x0039d] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty(systemName: "us-west-1")
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata[0] () [0x00051] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByImplementation[TClient] (System.Boolean useServiceUrl) [0x00020] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByImplementation_Should_Set_RegionEndpoint_By_RegionName_Property_Of_SessionOptions_And_ServiceUrl_To_Null_If_RegionName_IsNotNull_Or_Empty (System.String systemName) [0x0039d] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByImplementation_Should_Set_ServiceUrl_By_ServiceEndpoint_Configuration_And_RegionEndpoint_To_Null_If_Given_UseServiceUrl_Parameter_Is_True_Regardless_Of_Use_RegionName_Property_...
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata[0] () [0x00051] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByImplementation[TClient] (System.Boolean useServiceUrl) [0x00020] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByImplementation_Should_Set_ServiceUrl_By_ServiceEndpoint_Configuration_And_RegionEndpoint_To_Null_If_Given_UseServiceUrl_Parameter_Is_True_Regardless_Of_Use_RegionName_Property_Of_SessionOptions_Has_Value_Or_Not (System.String systemName) [0x00389] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByImplementation_Should_Set_ServiceUrl_By_ServiceEndpoint_Configuration_And_RegionEndpoint_To_Null_If_Given_UseServiceUrl_Parameter_Is_True_Regardless_Of_Use_RegionName_Property_...
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata[0] () [0x00051] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByImplementation[TClient] (System.Boolean useServiceUrl) [0x00020] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByImplementation_Should_Set_ServiceUrl_By_ServiceEndpoint_Configuration_And_RegionEndpoint_To_Null_If_Given_UseServiceUrl_Parameter_Is_True_Regardless_Of_Use_RegionName_Property_Of_SessionOptions_Has_Value_Or_Not (System.String systemName) [0x00389] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByImplementation_Should_Throw_NotSupportedClientException_If_Given_ServiceId_Is_Not_Supported
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(LocalStack.Client.Exceptions.NotSupportedClientException)
Actual: typeof(Moq.MockException)
---- Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(LocalStack.Client.Exceptions.NotSupportedClientException)
Actual: typeof(Moq.MockException)
---- Moq.MockException : ISessionReflection.ExtractServiceMetadata<MockAmazonServiceClient>() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByImplementation_Should_Throw_NotSupportedClientException_If_Given_ServiceId_Is_Not_Supported () [0x001ac] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
----- Inner Stack Trace -----
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata[0] () [0x00051] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByImplementation[TClient] (System.Boolean useServiceUrl) [0x00020] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests+<>c__DisplayClass0_0.<CreateClientByImplementation_Should_Throw_NotSupportedClientException_If_Given_ServiceId_Is_Not_Supported>b__4 () [0x00000] in <adbb11a4f30a44d781484d41dee8e6d4>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByInterface_Should_Create_Client_And_Set_Configurations
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Moq.MockException : IConfig.GetConfigOptions() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Moq.MockException : IConfig.GetConfigOptions() invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.IConfigProxy.GetConfigOptions () [0x0001f] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByInterface (System.Type serviceInterfaceType, System.Boolean useServiceUrl) [0x00116] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Session.CreateClientByInterface[TClient] (System.Boolean useServiceUrl) [0x0002b] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByInterface_Should_Create_Client_And_Set_Configurations () [0x00270] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
Check failure on line 0 in tests/LocalStack.Client.Tests/TestResults/net472_results.trx
github-actions / Test Results (macOS)
LocalStack.Client.Tests.SessionTests.SessionLocalStackTests βΊ CreateClientByInterface_Should_Throw_AmazonClientException_If_Given_AwsClientConfig_Could_Not_Constructed
Failed test found in:
tests/LocalStack.Client.Tests/TestResults/net472_results.trx
Error:
Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(System.ArgumentException)
Actual: typeof(Moq.MockException)
---- Moq.MockException : ISessionReflection.ExtractServiceMetadata(LocalStack.Tests.Common.Mocks.MockServiceClients.MockAmazonServiceClient) invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
Raw output
Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(System.ArgumentException)
Actual: typeof(Moq.MockException)
---- Moq.MockException : ISessionReflection.ExtractServiceMetadata(LocalStack.Tests.Common.Mocks.MockServiceClients.MockAmazonServiceClient) invocation failed with mock behavior Strict.
All invocations on the mock must have a corresponding setup.
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests.CreateClientByInterface_Should_Throw_AmazonClientException_If_Given_AwsClientConfig_Could_Not_Constructed () [0x000bf] in <adbb11a4f30a44d781484d41dee8e6d4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <bab7d1a00376483b944db50cdc31e41d>:0
----- Inner Stack Trace -----
at Moq.FailForStrictMock.Handle (Moq.Invocation invocation, Moq.Mock mock) [0x0000e] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.Mock.Moq.IInterceptor.Intercept (Moq.Invocation invocation) [0x00025] in <565d3ecb91f140d987b595b3a8784774>:0
at Moq.CastleProxyFactory+Interceptor.Intercept (Castle.DynamicProxy.IInvocation underlying) [0x00048] in <565d3ecb91f140d987b595b3a8784774>:0
at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <cc148072625c4e8aa095c55ef9423295>:0
at Castle.Proxies.ISessionReflectionProxy.ExtractServiceMetadata (System.Type clientType) [0x00027] in <c1a5f06278cc47e68e50b56c79e5915c>:0
at LocalStack.Client.Session.CreateClientByInterface (System.Type serviceInterfaceType, System.Boolean useServiceUrl) [0x000a7] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Session.CreateClientByInterface[TClient] (System.Boolean useServiceUrl) [0x0002b] in <3462840600d64fdc80a1daeca5a7284a>:0
at LocalStack.Client.Tests.SessionTests.SessionLocalStackTests+<>c__DisplayClass9_0.<CreateClientByInterface_Should_Throw_AmazonClientException_If_Given_AwsClientConfig_Could_Not_Constructed>b__2 () [0x00000] in <adbb11a4f30a44d781484d41dee8e6d4>:0