@Test
public void testBadQualifier() {

  expectedException.expect(IllegalStateException.class);
  bigtableInstanceName.toTableId(
      instanceName.replace("some-instance", "another-instance")
          + BigtableInstanceName.TABLE_SEPARATOR
          + "foo");
}