@Test
public void testResolveShardForPathNullCookie() {

    when(shardStrategy.findShard(YangInstanceIdentifier.empty())).thenReturn("foo");
    final Long cookie = moduleShardBackendResolver.resolveShardForPath(YangInstanceIdentifier.empty());
    Assert.assertEquals(1L, cookie.longValue());
}