@Test
public void testIsCompatible() {

  // First do a coverage-only call, as it's not safe to assume compatibility in the unit test.
  window.isCompatible();
  // Now do a call that is guaranteed to fail.
  BrokenCompatibilityWindow broken = new BrokenCompatibilityWindow();
  Assert.assertFalse(broken.isCompatible());
  // Now do a call that is guaranteed to succeed.
  InfallibleCompatibilityWindow infallible = new InfallibleCompatibilityWindow();
  Assert.assertTrue(infallible.isCompatible());
}