@Test public void testSessionToString() { EnrichedSessionState state = createNewSession(FILE_TEXT); assertTrue(StringUtils.isNotBlank(state.toString()), "Session toString"); }
public EnrichedSessionState createNewSession(final Path file) { AnalysisResult model = analyse(file); return new EnrichedSessionState(new SessionState(model)); }
FileStreamer { public EnrichedSessionState createNewSession(final Path file) { AnalysisResult model = analyse(file); return new EnrichedSessionState(new SessionState(model)); } }
FileStreamer { public EnrichedSessionState createNewSession(final Path file) { AnalysisResult model = analyse(file); return new EnrichedSessionState(new SessionState(model)); } @Inject  FileStreamer(final TextReader textReader, final Analyser analyser); }
FileStreamer { public EnrichedSessionState createNewSession(final Path file) { AnalysisResult model = analyse(file); return new EnrichedSessionState(new SessionState(model)); } @Inject  FileStreamer(final TextReader textReader, final Analyser analyser); AnalysisResult analyse(final Path file); EnrichedSessionState createNewSession(final Path file); EnrichedSessionState createOrOpenSession(final Path file); }
FileStreamer { public EnrichedSessionState createNewSession(final Path file) { AnalysisResult model = analyse(file); return new EnrichedSessionState(new SessionState(model)); } @Inject  FileStreamer(final TextReader textReader, final Analyser analyser); AnalysisResult analyse(final Path file); EnrichedSessionState createNewSession(final Path file); EnrichedSessionState createOrOpenSession(final Path file);  }