mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 12:14:04 +00:00
Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
This commit is contained in:
1 parent
f6d43975fa
commit
43e7ca515a
7 files changed
+34
-21
No files matched your search
@@ -23,15 +23,18 @@
|
||||
|
||||
package com.iluwatar.multiton;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
/**
|
||||
* Application test
|
||||
* Test if the application starts without throwing an exception.
|
||||
*/
|
||||
public class AppTest {
|
||||
|
||||
class AppTest {
|
||||
|
||||
@Test
|
||||
void test() {
|
||||
App.main(new String[]{});
|
||||
void shouldExecuteApplicationWithoutException() {
|
||||
assertDoesNotThrow(() -> App.main(new String[]{}));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user