@Test
public void testLibraryVariationNoMatch() {

  IndexedRegularExpressionIncludeResolver resolver =
    new IndexedRegularExpressionIncludeResolver(PackageType.NdkComponent,
                                                "^(/path/to/ndk-bundle)(/sources/android/native_app_glue(/.*))$",
                                                "Native App Glue");
  SimpleIncludeValue result = resolver.resolve(new File("."));
  assertThat(result).isNull();
}