We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6a518b commit 0629396Copy full SHA for 0629396
sample-code/spring-app/src/test/java/com/sap/ai/sdk/app/controllers/PromptRegistryTest.java
@@ -0,0 +1,15 @@
1
+package com.sap.ai.sdk.app.controllers;
2
+
3
+import org.junit.jupiter.api.Test;
4
5
+import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
6
7
+public class PromptRegistryTest {
8
9
+ @Test
10
+ void listTemplates() {
11
+ var controller = new PromptRegistryController();
12
+ var result = controller.listTemplates();
13
+ assertThat(result.getCount()).isGreaterThan(0);
14
+ }
15
+}
0 commit comments