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