SuiteContext extends DefaultContext { public boolean isDirectory() { return isDirectory; } SuiteContext(final String suiteName);  SuiteContext(final String suiteName, final boolean isDirectory, final String errorMessage);  SuiteContext(final String suiteName, final URI locationUri, final boolean isDirectory,
            final String errorMessage);  SuiteContext(final String suiteName, final URI locationUri, final boolean isDirectory,
            final Function<URI, Optional<RobotFile>> associatedFileModelProvider); private  SuiteContext(final String suiteName, final URI locationUri, final boolean isDirectory,
            final String errorMessage,
            final Function<URI, Optional<RobotFile>> associatedFileModelProvider); boolean isDirectory(); @Override boolean isErroneous(); @Override Optional<String> getErrorMessage(); @Override Optional<URI> getAssociatedPath(); @Override StackFrameContext moveTo(final RunningKeyword keyword, final RobotBreakpointSupplier breakpointSupplier);  }
@Test public void suiteIsDirectory_whenProvidedFlagSaysSo() { final SuiteContext context1 = new SuiteContext("suite", true, "error1"); final SuiteContext context2 = new SuiteContext("suite", URI.create("file: assertThat(context1.isDirectory()).isTrue(); assertThat(context2.isDirectory()).isFalse(); }