feat: Add Service Stub Pattern using Sentiment Analysis example (#3215)

* Add Service Stub Pattern using Sentiment Analysis example

* Fix Checkstyle issues

* Suppress Sonar warning for Random usage in RealSentimentAnalysisServer
This commit is contained in:
John Klint
2025-03-23 06:37:35 +01:00
committed by GitHub
parent abfb137040
commit adf5b62753
10 changed files with 377 additions and 0 deletions
@@ -0,0 +1,11 @@
package com.iluwatar.servicestub;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
public class AppTest {
@Test
void shouldExecuteWithoutException() {
assertDoesNotThrow(() -> App.main(new String[] {}));
}
}