I tried to do but i have warning "Type safety: A generic array of Matcher<? super PatientIdentifier> is created for varargs parameter". 

Is it Ok to use @SuppressWarning("unchecked") or should I find another way ?