@Test
public void testClientDispatcherIsNotGlobalDispatcher() {

    ActorSystem actorSystem = ActorSystem.create("with-custom-dispatchers",
            ConfigFactory.load("application-with-custom-dispatchers.conf"));
    ActorUtils actorUtils = new ActorUtils(actorSystem, mock(ActorRef.class), mock(ClusterWrapper.class),
            mock(Configuration.class), DatastoreContext.newBuilder().build(), new PrimaryShardInfoFutureCache());
    assertNotEquals(actorSystem.dispatchers().defaultGlobalDispatcher(), actorUtils.getClientDispatcher());
    actorSystem.terminate();
}