(t *testing.T)
| 95 | } |
| 96 | |
| 97 | func TestRuntimeStore_SessionExist(t *testing.T) { |
| 98 | // Use a separate store for this test |
| 99 | testStore := NewRuntimeStore(NewDefaultRuntimeConfig()) |
| 100 | testValue := make(map[interface{}]interface{}) |
| 101 | testValue["foo"] = "bar" |
| 102 | |
| 103 | testStore.SessionUpdate(NewSessionState(testStore, "session_read", testValue)) |
| 104 | |
| 105 | fmt.Println("is session exist: ", testStore.SessionExist("session_read")) |
| 106 | } |
| 107 | |
| 108 | func TestRuntimeStore_SessionRemove(t *testing.T) { |
| 109 | // Use a separate store for this test |
nothing calls this directly
no test coverage detected