@Test
public void readUrlUnknownMimeTypeNoExtension() throws Exception {

  // Mimetype should be text/plain, it depends on the installed FileTypeDetectors
  URL url = mockUrlHelper("http://something.other.com/file", ImmutableList.of());
  Throwable thrown = assertThrows(IllegalArgumentException.class, () -> Table.read().url(url));
  assertTrue(
      thrown
          .getMessage()
          .contains("No reader registered for mime-type application/octet-stream"));
}