(t *testing.T)
| 207 | } |
| 208 | |
| 209 | func TestEnvPropertySource_PropertyNames(t *testing.T) { |
| 210 | // given |
| 211 | os.Setenv("ANY_KEY", "anyValue") |
| 212 | |
| 213 | envPropSource := NewEnvPropertySource() |
| 214 | |
| 215 | // when |
| 216 | propNames := envPropSource.PropertyNames() |
| 217 | |
| 218 | // then |
| 219 | assert.Contains(t, propNames, "ANY_KEY") |
| 220 | } |
nothing calls this directly
no test coverage detected