@Test
public void getLibrariesWithoutDebugSymbolsWithLibrariesMissingDebugSymbols() {

  NativeLibrary library1 = new NativeLibrary("x.c");
  library1.hasDebugSymbols = true;
  NativeLibrary library2 = new NativeLibrary("x.h");
  NativeLibrary library3 = new NativeLibrary("y.c");
  myConfiguration.NATIVE_LIBRARIES.add(library1);
  myConfiguration.NATIVE_LIBRARIES.add(library2);
  myConfiguration.NATIVE_LIBRARIES.add(library3);
  List<NativeLibrary> libraries = myConfiguration.getLibrariesWithoutDebugSymbols();
  assertThat(libraries).containsAllOf(library2, library3);
}