@Test public void testConsumeVersion() throws Exception { ClientVersionConsumer consumer = new ClientVersionConsumer(); AccuRevJUnitUtil.consume( "/accurev.txt", consumer ); assertThat( consumer.getClientVersion(), is( "4.7.4b" ) ); }
public String getClientVersion() { return clientVersion; }
ClientVersionConsumer implements StreamConsumer { public String getClientVersion() { return clientVersion; } }
ClientVersionConsumer implements StreamConsumer { public String getClientVersion() { return clientVersion; }  }
ClientVersionConsumer implements StreamConsumer { public String getClientVersion() { return clientVersion; }  void consumeLine( String line ); String getClientVersion(); }
ClientVersionConsumer implements StreamConsumer { public String getClientVersion() { return clientVersion; }  void consumeLine( String line ); String getClientVersion();  }