(t *testing.T)
| 39 | } |
| 40 | |
| 41 | func TestAliasController_SetAlias_Success(t *testing.T) { |
| 42 | cfg, _ := setupAliasConfig(t) |
| 43 | |
| 44 | ctrl := NewAliasController("192.168.1.1", cfg, "newalias") |
| 45 | result := ctrl.SetAlias() |
| 46 | assert.True(t, result) |
| 47 | } |
| 48 | |
| 49 | func TestAliasController_SetAlias_DuplicateAlias(t *testing.T) { |
| 50 | cfg, _ := setupAliasConfig(t) |
nothing calls this directly
no test coverage detected