Comment implements SpecialCommand { @Override public StellarResult execute(String expression, StellarShellExecutor executor) { return noop(); }  @Override String getCommand(); @Override Function<String, Boolean> getMatcher(); @Override StellarResult execute(String expression, StellarShellExecutor executor); static final String COMMENT_PREFIX; }
@Test public void testComment() { StellarResult result = magic.execute("# this is a comment ", executor); assertTrue(result.isSuccess()); assertTrue(result.getValue().isPresent()); assertEquals("", result.getValue().get()); }