@Test
public void getMessage() {

    for (IdMaskSecurityException.Reason reason : IdMaskSecurityException.Reason.values()) {
        assertNotNull(new IdMaskSecurityException("test message", reason).getMessage());
    }
}