    @Test
    public void testValueObjectId() {

        when(domainRegistry.getFactory(Case2DtoVO.class)).thenReturn(new Case2DtoVOFactory());

        Case2DtoVO id = underTest.resolveId(new Case2Dto(firstName, birthDate), Case2DtoVO.class);
        assertThat(id).isNotNull();
        assertThat(id).isEqualTo(new Case2DtoVO(firstName, birthDate));
    }