Skip to content

Commit 56a0b48

Browse files
committed
Added an assertion to avoid NPE if the test fails.
1 parent 6452578 commit 56a0b48

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

integration/src/test/java/test/wsdl/attachments/AttachmentTestCase.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public void testGetCompanyInfo() throws Exception {
5656
getBinding().getCompanyInfo("IBM", result, docs, logo);
5757
assertEquals(134, (int)(result.value*10));
5858
assertEquals("IBM", docs.value);
59+
assertNotNull(logo.value);
5960
assertEquals(24, logo.value.getWidth(null));
6061
assertEquals(24, logo.value.getHeight(null));
6162
}

0 commit comments

Comments
 (0)