@Test
public void testNoLibraryVariationMatch() {

  IndexedRegularExpressionIncludeResolver resolver =
    new IndexedRegularExpressionIncludeResolver(PackageType.ThirdParty, "^(?<home>.*)(?<relative>/third[_-]party/(?<library>.*?)/.*)$", null);
  SimpleIncludeValue result = resolver.resolve(new File("/path/to/third_party/include"));
  assertThat(result).isNotNull();
  assertThat(result.getSimplePackageName()).isEqualTo("include");
  assertThat(result.getRelativeIncludeSubFolder()).isEqualTo("/third_party/include/");
  assertThat(result.getIncludeFolder()).isEqualTo(new File("/path/to/third_party/include"));
}