@Test
public void testResolveShardForPathNonNullCookie() {

    when(shardStrategy.findShard(YangInstanceIdentifier.empty())).thenReturn(DefaultShardStrategy.DEFAULT_SHARD);
    final Long cookie = moduleShardBackendResolver.resolveShardForPath(YangInstanceIdentifier.empty());
    Assert.assertEquals(0L, cookie.longValue());
}