@Test
public void shouldReturnOKResultIfServerIsLeader() {

     // we pretend the NOP command succeeds (only happens if the server is the leader)
    when(distributedStore.nop()).thenReturn(Futures.<Void>immediateFuture(null));
    assertThat(check.check().isHealthy(), equalTo(true));
}