title: Injecting values into private field in Quarkus test
body: <p>I'm trying to set value to a private field in my test class using FieldSetter in Quarkus Application(Quarkus version: 1.5.2.Final and JDK version:11)</p>
  <p>Main Class</p>
  <pre><code>@ApplicationScoped
  public class TokenService{
      @Inject @RestClient RestClientInterface client;
  
      private String someVariable;
  
      public String someMethod(){}
  }
  </code></pre>
  <p>Test Class</p>
  <pre><code>@QuarkusTest
  public class TokenServiceTest{
      @Inject TokenService service;
      @InjectMock @RestClient RestClientInterface client;
  
      @Test
      public void someMethodTest(){
         FieldSetter.setField(service, &quot;someVariable&quot;, &quot;someValue&quot;);
      }
  }
  </code></pre>
  <p>But FieldSetter is throwing NoSuchField error. Please help.
  Also tried with</p>
  <pre><code>service.getClass().getdeclaredField(&quot;someVariable&quot;)
  </code></pre>
  <p>But same issue.</p>
  <p>Thanks in advance.</p>