Skip to content

Commit 8b9329c

Browse files
authored
Update FieldLevelEncryptionConfigBuilderTest.java
remove unnecessary unboxing (IntValue) since hamcrest can handle Integer to Int comparison automatically
1 parent bfc194b commit 8b9329c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/mastercard/developer/encryption/FieldLevelEncryptionConfigBuilderTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void testBuild_Nominal_iv12() throws Exception {
6060
Assert.assertEquals("oaepPaddingDigestAlgorithm", config.oaepPaddingDigestAlgorithmFieldName);
6161
Assert.assertEquals("x-oaep-padding-digest-algorithm", config.oaepPaddingDigestAlgorithmHeaderName);
6262
Assert.assertEquals(HEX, config.fieldValueEncoding);
63-
assertThat(config.getIVSize().intValue(),equalTo(12));
63+
assertThat(config.getIVSize(),equalTo(12));
6464
}
6565

6666
@Test
@@ -107,7 +107,7 @@ public void testBuild_Nominal_iv16() throws Exception {
107107
Assert.assertEquals("oaepPaddingDigestAlgorithm", config.oaepPaddingDigestAlgorithmFieldName);
108108
Assert.assertEquals("x-oaep-padding-digest-algorithm", config.oaepPaddingDigestAlgorithmHeaderName);
109109
Assert.assertEquals(HEX, config.fieldValueEncoding);
110-
assertThat(config.getIVSize().intValue(),equalTo(16));
110+
assertThat(config.getIVSize(),equalTo(16));
111111
}
112112

113113
@Test

0 commit comments

Comments
 (0)