mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 10:58:42 +00:00
f7e717dcad
* #3230 - Clean Architecture. * #3230 - Clean Architecture. * #3230 - Clean Architecture. * #3230 - Clean Architecture. * #3230 - Clean Architecture Sonar. * #3230 - Clean Architecture Sonar. * #3230 - Clean Architecture Sonar. * #3230 - Clean Architecture Sonar. --------- Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
20 lines
467 B
Java
20 lines
467 B
Java
package com.iluwatar.cleanarchitecture;
|
|
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
import static org.junit.jupiter.api.Assertions.*;
|
|
|
|
class AppTest {
|
|
/**
|
|
* Issue: Add at least one assertion to this test case.
|
|
*
|
|
* Solution: Inserted assertion to check whether the execution of the main method in {@link App}
|
|
* throws an exception.
|
|
*/
|
|
|
|
@Test
|
|
void shouldExecuteApplicationWithoutException() {
|
|
|
|
assertDoesNotThrow(() -> App.main(new String[]{}));
|
|
}
|
|
} |