Skip to content

Commit 6e10823

Browse files
authored
Merge pull request #30 from gaubansa/master
april-22 release
2 parents e7c46c9 + a0fc17b commit 6e10823

16 files changed

+1182
-19
lines changed

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/SymmetricKeyManagementApiTests.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,19 @@ public void CreateV2SharedSecretKeysTest()
7676
//Assert.IsInstanceOf<KmsV2KeysSymPost201Response> (response, "response is KmsV2KeysSymPost201Response");
7777
}
7878

79+
/// <summary>
80+
/// Test CreateV2SharedSecretKeysVerifi
81+
/// </summary>
82+
[Test]
83+
public void CreateV2SharedSecretKeysVerifiTest()
84+
{
85+
// TODO uncomment below to test the method and replace null with proper value
86+
//string vIcDomain = null;
87+
//CreateSharedSecretKeysVerifiRequest createSharedSecretKeysVerifiRequest = null;
88+
//var response = instance.CreateV2SharedSecretKeysVerifi(vIcDomain, createSharedSecretKeysVerifiRequest);
89+
//Assert.IsInstanceOf<KmsV2KeysSymPost201Response> (response, "response is KmsV2KeysSymPost201Response");
90+
}
91+
7992
/// <summary>
8093
/// Test DeleteBulkSymmetricKeys
8194
/// </summary>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
/*
2+
* CyberSource Merged Spec
3+
*
4+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5+
*
6+
* OpenAPI spec version: 0.0.1
7+
*
8+
* Generated by: https://github.com/swagger-api/swagger-codegen.git
9+
*/
10+
11+
12+
using NUnit.Framework;
13+
14+
using System;
15+
using System.Linq;
16+
using System.IO;
17+
using System.Collections.Generic;
18+
using CyberSource.Api;
19+
using CyberSource.Model;
20+
using CyberSource.Client;
21+
using System.Reflection;
22+
23+
namespace CyberSource.Test
24+
{
25+
/// <summary>
26+
/// Class for testing CreateSharedSecretKeysVerifiRequest
27+
/// </summary>
28+
/// <remarks>
29+
/// This file is automatically generated by Swagger Codegen.
30+
/// Please update the test case below to test the model.
31+
/// </remarks>
32+
[TestFixture]
33+
public class CreateSharedSecretKeysVerifiRequestTests
34+
{
35+
// TODO uncomment below to declare an instance variable for CreateSharedSecretKeysVerifiRequest
36+
//private CreateSharedSecretKeysVerifiRequest instance;
37+
38+
/// <summary>
39+
/// Setup before each test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
// TODO uncomment below to create an instance of CreateSharedSecretKeysVerifiRequest
45+
//instance = new CreateSharedSecretKeysVerifiRequest();
46+
}
47+
48+
/// <summary>
49+
/// Clean up after each test
50+
/// </summary>
51+
[TearDown]
52+
public void Cleanup()
53+
{
54+
55+
}
56+
57+
/// <summary>
58+
/// Test an instance of CreateSharedSecretKeysVerifiRequest
59+
/// </summary>
60+
[Test]
61+
public void CreateSharedSecretKeysVerifiRequestInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" CreateSharedSecretKeysVerifiRequest
64+
//Assert.IsInstanceOfType<CreateSharedSecretKeysVerifiRequest> (instance, "variable 'instance' is a CreateSharedSecretKeysVerifiRequest");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'ClientReferenceInformation'
69+
/// </summary>
70+
[Test]
71+
public void ClientReferenceInformationTest()
72+
{
73+
// TODO unit test for the property 'ClientReferenceInformation'
74+
}
75+
/// <summary>
76+
/// Test the property 'KeyInformation'
77+
/// </summary>
78+
[Test]
79+
public void KeyInformationTest()
80+
{
81+
// TODO unit test for the property 'KeyInformation'
82+
}
83+
84+
}
85+
86+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
/*
2+
* CyberSource Merged Spec
3+
*
4+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5+
*
6+
* OpenAPI spec version: 0.0.1
7+
*
8+
* Generated by: https://github.com/swagger-api/swagger-codegen.git
9+
*/
10+
11+
12+
using NUnit.Framework;
13+
14+
using System;
15+
using System.Linq;
16+
using System.IO;
17+
using System.Collections.Generic;
18+
using CyberSource.Api;
19+
using CyberSource.Model;
20+
using CyberSource.Client;
21+
using System.Reflection;
22+
23+
namespace CyberSource.Test
24+
{
25+
/// <summary>
26+
/// Class for testing Kmsv2keyssymverifiKeyInformation
27+
/// </summary>
28+
/// <remarks>
29+
/// This file is automatically generated by Swagger Codegen.
30+
/// Please update the test case below to test the model.
31+
/// </remarks>
32+
[TestFixture]
33+
public class Kmsv2keyssymverifiKeyInformationTests
34+
{
35+
// TODO uncomment below to declare an instance variable for Kmsv2keyssymverifiKeyInformation
36+
//private Kmsv2keyssymverifiKeyInformation instance;
37+
38+
/// <summary>
39+
/// Setup before each test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
// TODO uncomment below to create an instance of Kmsv2keyssymverifiKeyInformation
45+
//instance = new Kmsv2keyssymverifiKeyInformation();
46+
}
47+
48+
/// <summary>
49+
/// Clean up after each test
50+
/// </summary>
51+
[TearDown]
52+
public void Cleanup()
53+
{
54+
55+
}
56+
57+
/// <summary>
58+
/// Test an instance of Kmsv2keyssymverifiKeyInformation
59+
/// </summary>
60+
[Test]
61+
public void Kmsv2keyssymverifiKeyInformationInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" Kmsv2keyssymverifiKeyInformation
64+
//Assert.IsInstanceOfType<Kmsv2keyssymverifiKeyInformation> (instance, "variable 'instance' is a Kmsv2keyssymverifiKeyInformation");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'OrganizationId'
69+
/// </summary>
70+
[Test]
71+
public void OrganizationIdTest()
72+
{
73+
// TODO unit test for the property 'OrganizationId'
74+
}
75+
/// <summary>
76+
/// Test the property 'ReferenceNumber'
77+
/// </summary>
78+
[Test]
79+
public void ReferenceNumberTest()
80+
{
81+
// TODO unit test for the property 'ReferenceNumber'
82+
}
83+
/// <summary>
84+
/// Test the property 'DigestAlgorithm'
85+
/// </summary>
86+
[Test]
87+
public void DigestAlgorithmTest()
88+
{
89+
// TODO unit test for the property 'DigestAlgorithm'
90+
}
91+
92+
}
93+
94+
}

0 commit comments

Comments
 (0)