Skip to content

Commit 4c95bfd

Browse files
authored
Update JweConfigBuilderTest.java
removed unnecessary method .intValue() on getIVSize()
1 parent 8b9329c commit 4c95bfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public void testBuild_Nominal_iv12() throws Exception {
3434
Assert.assertEquals("encryptedPayload", config.getEncryptedValueFieldName());
3535
Assert.assertEquals(Collections.singletonMap("$.encryptedPayload", "$"), config.getDecryptionPaths());
3636
Assert.assertEquals(Collections.singletonMap("$", "$"), config.getEncryptionPaths());
37-
assertThat(config.getIVSize().intValue(),equalTo(12));
37+
assertThat(config.getIVSize(),equalTo(12));
3838
}
3939

4040
@Test
@@ -54,7 +54,7 @@ public void testBuild_Nominal_iv16() throws Exception {
5454
Assert.assertEquals("encryptedPayload", config.getEncryptedValueFieldName());
5555
Assert.assertEquals(Collections.singletonMap("$.encryptedPayload", "$"), config.getDecryptionPaths());
5656
Assert.assertEquals(Collections.singletonMap("$", "$"), config.getEncryptionPaths());
57-
assertThat(config.getIVSize().intValue(),equalTo(16));
57+
assertThat(config.getIVSize(),equalTo(16));
5858
}
5959

6060
@Test

0 commit comments

Comments
 (0)