@Override
 protected void setUp() throws Exception {
   super.setUp();
   FontLayoutService.setInstance(
       new MockFontLayoutService(
           BitmapFont.CHAR_WIDTH, BitmapFont.CHAR_HEIGHT, BitmapFont.CHAR_DESCENT));
 }
  @Override
  protected void setUp() throws Exception {
    super.setUp();
    if (myEditor == null) {
      return;
    }

    EditorSettings settings = myEditor.getSettings();
    mySmartHome = settings.isSmartHome();
  }
 public void setUp() throws Exception {
   super.setUp();
   myStoredVirtualSpaceSetting = EditorSettingsExternalizable.getInstance().isVirtualSpace();
   EditorSettingsExternalizable.getInstance().setVirtualSpace(false);
 }