  @Test
  void testLastOAuthScopeIsKept_capitalA() {

    Yaml yamlParser = new Yaml();
    Object parsedYaml =
        yamlParser.load(
            Joiner.on('\n')
                .join(
                    "oauthScopes: [\"lowercase-a\"]", //
                    "oAuthScopes: [\"uppercase-a\"]"));
    KubernetesAccount account =
        new StrictObjectMapper().convertValue(parsedYaml, KubernetesAccount.class);

    assertThat(account.getOAuthScopes()).containsExactly("uppercase-a");
  }