2
0
Fork 0
mirror of https://github.com/ethauvin/rife2-hello.git synced 2025-04-27 16:18:12 -07:00

Initial commit

This commit is contained in:
Geert Bevin 2023-02-12 11:39:35 -05:00
parent 05b1ce9e95
commit c40209698c
15 changed files with 584 additions and 0 deletions

View file

@ -0,0 +1,18 @@
/*
* This Java source file was generated by the Gradle 'init' task.
*/
package hello;
import org.junit.jupiter.api.Test;
import rife.test.MockConversation;
import static org.junit.jupiter.api.Assertions.*;
public class AppTest {
@Test
void verifyHello() {
var m = new MockConversation(new App());
assertEquals("Hello", m.doRequest("/hello")
.getTemplate().getValue("title"));
}
}