(t *testing.T)
| 117 | } |
| 118 | |
| 119 | func TestCreationState_RemoveFromPreparation(t *testing.T) { |
| 120 | // given |
| 121 | state := newCreationState() |
| 122 | state.currentlyInCreation["anyInstanceName"] = struct{}{} |
| 123 | |
| 124 | // when |
| 125 | state.removeFromPreparation("anyInstanceName") |
| 126 | |
| 127 | // then |
| 128 | assert.NotContains(t, state.currentlyInCreation, "anyInstanceName") |
| 129 | } |
nothing calls this directly
no test coverage detected