(t *testing.T)
| 147 | } |
| 148 | |
| 149 | func TestLoggerAdapter_Methods(t *testing.T) { |
| 150 | adapter := NewSimpleLoggerAdapter(true) |
| 151 | |
| 152 | // Test that all methods exist and can be called |
| 153 | assert.NotPanics(t, func() { |
| 154 | adapter.Debug("Debug: %s %d", "test", 123) |
| 155 | }) |
| 156 | |
| 157 | assert.NotPanics(t, func() { |
| 158 | adapter.Info("Info: %s %d", "test", 456) |
| 159 | }) |
| 160 | |
| 161 | assert.NotPanics(t, func() { |
| 162 | adapter.Error("Error: %s %d", "test", 789) |
| 163 | }) |
| 164 | } |
| 165 | |
| 166 | func TestNewCacheAdapter(t *testing.T) { |
| 167 | adapter := NewCacheAdapter() |
nothing calls this directly
no test coverage detected