Files
java-design-patterns/clean-architecture/src/test/java/com/iluwatar/cleanarchitecture/AppTest.java
T
Suchismita Deb f7e717dcad feat: Clean Architecture (#3235)
* #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>
2025-04-05 09:40:55 +03:00

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[]{}));
}
}