// Path: core/src/main/java/org/aimlang/core/consts/AimlConst.java
// public class AimlConst {
// 
//     public static final String AIML_FILE_SUFFIX = ".aiml";
// 
//     private static String root_path = Path.of("./bots/src/main/resources".replace("/",File.separator))
//             .toAbsolutePath().toString();
//     public static final String default_bot_name = "jokebot";
//     public static final String error_bot_response = "Something is wrong with my brain.";
//     public static final String default_bot_response = "I have no answer for that.";
//     public static final String default_topic = "unknown";
//     public static final String default_that = "unknown";
//     public static final String null_input = "#NORESP";
//     public static boolean debug = false;
// 
//     public static String getRootPath() {
//         return root_path;
//     }
// 
//     public static void setRootPath(String newRootPath) {
//         root_path = newRootPath;
//     }
// }


import org.aimlang.core.consts.AimlConst;
import org.junit.jupiter.api.Test;
import static java.lang.String.format;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
package org.aimlang.core.chat;



/**
 * ChatContextTest
 *
 * @author batiaev
 * @since 6/22/15
 */
public class ChatContextTest {

    @Test
    public void testTopic() {
        var state = new ChatContext("test");
// Path: core/src/main/java/org/aimlang/core/consts/AimlConst.java
// public class AimlConst {
// 
//     public static final String AIML_FILE_SUFFIX = ".aiml";
// 
//     private static String root_path = Path.of("./bots/src/main/resources".replace("/",File.separator))
//             .toAbsolutePath().toString();
//     public static final String default_bot_name = "jokebot";
//     public static final String error_bot_response = "Something is wrong with my brain.";
//     public static final String default_bot_response = "I have no answer for that.";
//     public static final String default_topic = "unknown";
//     public static final String default_that = "unknown";
//     public static final String null_input = "#NORESP";
//     public static boolean debug = false;
// 
//     public static String getRootPath() {
//         return root_path;
//     }
// 
//     public static void setRootPath(String newRootPath) {
//         root_path = newRootPath;
//     }
// }


// Path: core/src/test/java/org/aimlang/core/chat/ChatContextTest.java
import org.aimlang.core.consts.AimlConst;
import org.junit.jupiter.api.Test;
import static java.lang.String.format;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

package org.aimlang.core.chat;



/**
 * ChatContextTest
 *
 * @author batiaev
 * @since 6/22/15
 */
public class ChatContextTest {

    @Test
    public void testTopic() {
        var state = new ChatContext("test");
        assertEquals(state.topic(), AimlConst.default_topic, "Default Topic = unknown, result = " + state.topic());