@Test
  public void injectionAccountAndContainerForPostTest() throws Exception {
    injectAccountAndContainerForPostAndVerify(refDefaultPrivateContainer, true);
    injectAccountAndContainerForPostAndVerify(refDefaultPrivateContainer, false);
    injectAccountAndContainerForPostAndVerify(refDefaultPublicContainer, true);
    injectAccountAndContainerForPostAndVerify(refDefaultPublicContainer, false);
  }
Tests injecting target {@link Account} and {@link Container} for PUT requests. The {@link AccountService} is
prepopulated with a reference account and {@link InMemAccountService#UNKNOWN_ACCOUNT}. The expected behavior should be:

<pre>
  accountHeader    containerHeader   serviceIdHeader     expected Error      injected account      injected container
   null             null              "someServiceId"     null                UNKNOWN_ACCOUNT       UNKNOWN_CONTAINER
   null             nonExistName      "someServiceId"     MissingArgs         null                  null
   null             C#UNKOWN          "someServiceId"     InvalidContainer    null                  null
   null             realCntName       "someServiceId"     MissingArgs         null                  null
   A#UNKNOWN        null              "someServiceId"     InvalidAccount      null                  null
   A#UNKNOWN        nonExistName      "someServiceId"     InvalidAccount      null                  null
   A#UNKNOWN        C#UNKOWN          "someServiceId"     InvalidAccount      null                  null
   A#UNKNOWN        realCntName       "someServiceId"     InvalidAccount      null                  null
   realAcctName     null              "someServiceId"     MissingArgs         null                  null
   realAcctName     nonExistName      "someServiceId"     InvalidContainer    null                  null
   realAcctName     C#UNKOWN          "someServiceId"     InvalidContainer    null                  null
   realAcctName     realCntName       "someServiceId"     null                realAccount           realContainer
   nonExistName     null              "someServiceId"     MissingArgs         null                  null
   nonExistName     nonExistName      "someServiceId"     InvalidAccount      null                  null
   nonExistName     C#UNKOWN          "someServiceId"     InvalidAccount      null                  null
   nonExistName     realCntName       "someServiceId"     InvalidAccount      null                  null
   null             null              A#UNKNOWN           InvalidAccount      null                  null
   null             nonExistName      A#UNKNOWN           InvalidAccount      null                  null
   null             C#UNKOWN          A#UNKNOWN           InvalidAccount      null                  null
   null             realCntName       A#UNKNOWN           InvalidAccount      null                  null
   null             null              realAcctName        InvalidContainer    null                  null     Note: The account does not have the two default containers for legacy public and private blobs.
   null             nonExistName      realAcctName        MissingArgs         null                  null
   null             C#UNKOWN          realAcctName        InvalidContainer    null                  null
   null             realCntName       realAcctName        MissingArgs         null                  null
   null             null              realAcctName        null                realAccount           default pub/private ctn     Note: The account has the two default containers for legacy public and private blobs.
</pre>
@throws Exception
ambry-frontend/src/test/java/com/github/ambry/frontend/FrontendRestRequestServiceTest.java