@Test
void authenticate_success() {

    String username = "some-user";
    String password = "some-password";

    VaultResponse vaultResponse = mock(VaultResponse.class);
    Map<String, Object> data = new HashMap<>();
    data.put("password", password);
    when(vaultResponse.getData()).thenReturn(data);
    when(vaultTemplate.read(anyString())).thenReturn(vaultResponse);

    Properties props = new Properties();
    props.setProperty("security-username",username);
    props.setProperty("security-password",password);
    vaultSecurityManager.authenticate(props);
}