package {{v package/}};

import org.junit.jupiter.api.Test;
import rife.test.MockConversation;

import static org.junit.jupiter.api.Assertions.*;

public class {{v projectTest/}} {
    @Test
    void verifyRoot() {
        var m = new MockConversation(new {{v projectSite/}}());
        assertEquals(m.doRequest("/").getStatus(), 302);
    }

    @Test
    void verifyHello() {
        var m = new MockConversation(new {{v projectSite/}}());
        assertEquals("Hello {{v project/}}", m.doRequest("/hello")
            .getTemplate().getValue("title"));
    }
}
