@Test
public void testHasMetadataId() throws Exception {

    Metadata md1 = _repository.save(newMetadata(_inc));
    assertFindsCorrectMd(md1, (Specification<Metadata>)hasMetadataId(md1.getId()), true);
}