private void validateNonFinalMethod(IMockObject mockObject, String methodName) {
    if (finalMethods.contains(methodName)) {
      throw new InvalidSpecException("The final method '"
        + methodName + "' of '"
        + mockObject.getMockName()
        + "' can't be mocked by the '"
        + ByteBuddyMockMaker.ID +
        "' mock maker. Please use another mock maker supporting final methods.");
    }
  }
{@link ByteBuddyMockInteractionValidator} validates the {@link IMockInteraction} for {@link ByteBuddyMockMaker} mocks.

<ul>
  <li>Checks for method interactions on final methods</li>
  <li>Checks for property interactions on final methods</li>
</ul>

<p>Implementation note: The {@link ByteBuddyMockFactory} create a single instance for each mocked class
and the same validation is used for multiple mocks of the same class.

@author Andreas Turban
spock-core/src/main/java/org/spockframework/mock/runtime/ByteBuddyMockInteractionValidator.java