testIsJustificationEmptySelection() {
    const mockField = new LooseMock(Field);

    mockField.getRange();
    mockField.$anyTimes();
    mockField.$returns(null);
    mockField.getPluginByClassId('Bidi');
    mockField.$anyTimes();
    mockField.$returns(null);
    /**
     * @suppress {visibility,checkTypes} suppression added to enable type
     * checking
     */
    FORMATTER.fieldObject = mockField;

    mockField.$replay();

    assertFalse(
        'Empty selection should not be justified',
        FORMATTER.isJustification_(BasicTextFormatter.COMMAND.JUSTIFY_CENTER));
    assertFalse(
        'Empty selection should not be justified',
        FORMATTER.isJustification_(BasicTextFormatter.COMMAND.JUSTIFY_FULL));
    assertFalse(
        'Empty selection should not be justified',
        FORMATTER.isJustification_(BasicTextFormatter.COMMAND.JUSTIFY_RIGHT));
    assertFalse(
        'Empty selection should not be justified',
        FORMATTER.isJustification_(BasicTextFormatter.COMMAND.JUSTIFY_LEFT));

    mockField.$verify();
  }
Regression test for {@bug 1414813}, where all 3 justification buttons are
considered "on" when you first tab into the editable field. In this
situation, when lorem ipsum is the only node in the editable field iframe
body, mockField.getRange() returns an empty range.
@suppress {missingProperties,visibility} suppression added to enable type
checking