@Override
  public void close() {
    preferredView.close();
    if (secondaryView != null) {
      secondaryView.close();
    }
  }
@Test
  public void testClose_noSecondaryInitialized() {
    fsView.close();
    verify(primary, times(1)).close();
    verify(secondary, never()).close();
  }