mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 10:58:42 +00:00
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:
@@ -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[] {}));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user