Skip to content

Commit

Permalink
Fixed compilation warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
vcolin7 committed Aug 19, 2024
1 parent e2ac44d commit 2aa3fd6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ public class JsonConverterUtilTest {
@Test
public void testFromJson() throws IOException {
String string = "{ \"cer\": \"cer\" }";
CertificateBundle bundle = (CertificateBundle) JsonConverterUtil.fromJson(CertificateBundle.class, string);
CertificateBundle bundle = JsonConverterUtil.fromJson(CertificateBundle.class, string);

assertNotNull(bundle);
assertEquals("cer", bundle.getCer());
}

/**
* Test toJson method.
*
*/
@Test
public void testToJson() {
Expand Down

0 comments on commit 2aa3fd6

Please sign in to comment.