(t *testing.T)
| 144 | } |
| 145 | |
| 146 | func TestAliasController_UnsetAlias(t *testing.T) { |
| 147 | cfg, _ := setupAliasConfig(t) |
| 148 | |
| 149 | ctrl := NewAliasController("192.168.1.1", cfg, "server1") |
| 150 | result := ctrl.UnsetAlias() |
| 151 | assert.True(t, result) |
| 152 | } |
| 153 | |
| 154 | func TestAliasController_UnsetAlias_NoMatch(t *testing.T) { |
| 155 | cfg, _ := setupAliasConfig(t) |
nothing calls this directly
no test coverage detected