(t *testing.T)
| 226 | } |
| 227 | |
| 228 | func TestRunningState(t *testing.T) { |
| 229 | s := createMockSession(t) |
| 230 | mod := NewRestAPI(s) |
| 231 | |
| 232 | // Initially should not be running |
| 233 | if mod.Running() { |
| 234 | t.Error("Module should not be running initially") |
| 235 | } |
| 236 | |
| 237 | // Note: Cannot test actual Start/Stop without proper server setup |
| 238 | } |
| 239 | |
| 240 | func TestRecordingState(t *testing.T) { |
| 241 | s := createMockSession(t) |
nothing calls this directly
no test coverage detected