### Question:
PersistenceDescriptorValidationMessageTranslator implements ValidationMessageTranslator { @Override public boolean accept( ValidationMessage checkMessage ) { return checkMessage instanceof PersistenceDescriptorValidationMessage; } @Inject  PersistenceDescriptorValidationMessageTranslator( TranslationService translationService ); @Override boolean accept( ValidationMessage checkMessage ); @Override ValidationMessage translate( ValidationMessage checkMessage ); static final String PREFIX; }### Answer:
@Test public void testAcceptMessage( ) { assertTrue( translator.accept( originalMessage ) ); assertFalse( translator.accept( new ValidationMessage( ) ) ); }