private boolean checkClassImplementsCompliance(){
  Class<?>[] interfaces=mClass.getInterfaces();
  Set<String> interFaceSet=new HashSet<>();
  for (  Class<?> c : interfaces) {
    interFaceSet.add(c.getCanonicalName());
  }
  for (  String inter : implInterfaces) {
    if (!interFaceSet.contains(inter)) {
      return false;
    }
  }
  return true;
}

private boolean checkClassImplementsCompliance ( ) { Class < ? > [ ] interfaces = mClass . getInterfaces ( ) ; Set < String > interFaceSet = new HashSet < > ( ) ; for ( Class < ? > c : interfaces ) { interFaceSet . add ( c . getCanonicalName ( ) ) ; } for ( String inter : implInterfaces ) { if ( ! interFaceSet . contains ( inter ) ) { return false ; } } return true ; }
checks if the class under test implements the proper interfaces according to the api .
