@Test
  public void recordExpectationsOnNonStrictFinalLocalMockField() {
    YetAnotherCollaborator collaborator = new YetAnotherCollaborator();

    new Expectations() {
      @NonStrict final YetAnotherCollaborator mock3 = new YetAnotherCollaborator();

      {
        mock3.doSomething();
        times = 1;
      }
    };

    collaborator.doSomething();
    assertEquals(0, collaborator.getValue());
  }