title: What's the name of this construction?
body: <p>I'm reading a code that I didn't write. I stumbled upon the following statement:</p>
  
  <pre><code>    context.checking(new org.jmock.Expectations() {
          {
              allowing(habilitationManager).hasRole(RoleDtoEnum.ROLE_NEWS);
              will(returnValue(true));
              allowing(habilitationManager).hasRole(RoleDtoEnum.ROLE_STAT);
              will(returnValue(true));
              allowing(habilitationManager).getUser();
              will(returnValue(getUserMock()));
              oneOf(parametreService).getParametre(PPP);
              will(returnValue(getMockPPP()));
          }
      });
  </code></pre>
  
  <p>I understand that the methods called inside the second <code>{ ... }</code> are <code>Expectations</code> methods.</p>
  
  <ul>
  <li>But how do you call this kind of code writing ?</li>
  <li>Especially how do you call the second <code>{ ... }</code> ?</li>
  </ul>