@Test
public void testFindLocalShardWithShardNotFound() {

    ActorRef shardManagerActorRef = getSystem().actorOf(MockShardManager.props(false, null));
    ActorUtils actorUtils = new ActorUtils(getSystem(), shardManagerActorRef, mock(ClusterWrapper.class),
        mock(Configuration.class));
    Optional<ActorRef> out = actorUtils.findLocalShard("default");
    assertFalse(out.isPresent());
}