@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }

    TestListResolver that = (TestListResolver) o;

    return getIncludedPatterns().equals(that.getIncludedPatterns())
        && getExcludedPatterns().equals(that.getExcludedPatterns());
  }
 Object createTestListResolver(TestListResolver resolver) {
   if (resolver == null) {
     return null;
   } else {
     Constructor constructor = getConstructor(testListResolver, String.class);
     return newInstance(constructor, resolver.getPluginParameterTest());
   }
 }