ibessonov commented on code in PR #6931:
URL: https://github.com/apache/ignite-3/pull/6931#discussion_r2576961134


##########
modules/java-records-tests/src/integrationTest/java/org/apache/ignite/internal/schema/marshaller/ItTableViewTest.java:
##########
@@ -147,6 +150,24 @@ void componentsWrongTypesThrowsException(Table t) {
         );
     }
 
+    @ParameterizedTest
+    @MethodSource("tableImpls")
+    void componentsEmptyThrowsException(Table t) {
+        String msgSubstring = "Empty mapping isn't allowed";
+
+        assertViewThrows(Exception.class, msgSubstring, t, new 
ComponentsEmpty.Record());
+        assertViewThrows(Exception.class, msgSubstring, t, new 
ComponentsEmpty.Class());

Review Comment:
   We should prefer more specific exceptions in tests



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to