LeaseAcquirerClientService implements EntityClientService<LeaseAcquirer, Void, LeaseMessage, LeaseResponse, LeaseReconnectListener> { @Override public boolean handlesEntityType(Class<LeaseAcquirer> c) { return LeaseAcquirer.class.equals(c); }  @Override boolean handlesEntityType(Class<LeaseAcquirer> c); @Override byte[] serializeConfiguration(Void aVoid); @Override Void deserializeConfiguration(byte[] bytes); @Override LeaseAcquirer create(EntityClientEndpoint<LeaseMessage, LeaseResponse> endpoint, LeaseReconnectListener reconnectListener); @Override MessageCodec<LeaseMessage, LeaseResponse> getMessageCodec();  }
@Test public void handlesCorrectClass() { LeaseAcquirerClientService clientService = new LeaseAcquirerClientService(); assertTrue(clientService.handlesEntityType(LeaseAcquirer.class)); }