Skip to content

Commit c0ecf29

Browse files
test: add test for App.java to increase coverage
1 parent c6685e9 commit c0ecf29

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: actor-model/src/test/java/com/iluwatar/actor/ActorModelTest.java

+5
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,17 @@
2828

2929
import com.iluwatar.actormodel.Actor;
3030
import com.iluwatar.actormodel.ActorSystem;
31+
import com.iluwatar.actormodel.App;
3132
import com.iluwatar.actormodel.ExampleActor;
3233
import com.iluwatar.actormodel.ExampleActor2;
3334
import com.iluwatar.actormodel.Message;
3435
import org.junit.jupiter.api.Test;
3536

3637
public class ActorModelTest {
38+
@Test
39+
void testMainMethod() throws InterruptedException {
40+
App.main(new String[] {});
41+
}
3742

3843
@Test
3944
public void testMessagePassing() {

0 commit comments

Comments
 (0)