File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
src/test/java/com/sap/ai/sdk/core/common Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 3030 </developers >
3131 <properties >
3232 <project .rootdir>${project.basedir} /../</project .rootdir>
33- <coverage .complexity>52 %</coverage .complexity>
34- <coverage .line>64 %</coverage .line>
35- <coverage .instruction>62 %</coverage .instruction>
36- <coverage .branch>47 %</coverage .branch>
37- <coverage .method>65 %</coverage .method>
38- <coverage .class>80 %</coverage .class>
33+ <coverage .complexity>62 %</coverage .complexity>
34+ <coverage .line>76 %</coverage .line>
35+ <coverage .instruction>76 %</coverage .instruction>
36+ <coverage .branch>60 %</coverage .branch>
37+ <coverage .method>74 %</coverage .method>
38+ <coverage .class>90 %</coverage .class>
3939 </properties >
4040
4141 <dependencies >
Original file line number Diff line number Diff line change 1- package com .sap .ai .sdk .core .commons ;
1+ package com .sap .ai .sdk .core .common ;
22
33import static org .assertj .core .api .Assertions .assertThatThrownBy ;
44import static org .mockito .ArgumentMatchers .any ;
@@ -47,9 +47,7 @@ public void testParseErrorAndThrow() {
4747 .hasCause (cause );
4848
4949 assertThatThrownBy (() -> sut .parseErrorAndThrow ("<message>foobar</message>" , cause ))
50- .isInstanceOf (MyException .class )
51- .hasMessage ("Something wrong" )
52- .hasNoCause ();
50+ .isEqualTo (cause );
5351 }
5452
5553 @ SneakyThrows
You can’t perform that action at this time.
0 commit comments