/** {@inheritDoc} */
  @Override
  protected void afterTest() throws Exception {
    if (client != null) {
      GridClientFactory.stop(client.id(), false);

      client = null;
    }
  }
 /** {@inheritDoc} */
 @Override
 protected void beforeTest() throws Exception {
   client = GridClientFactory.start(clientConfiguration());
 }