@Test(expected = IllegalArgumentException.class)
public void shouldThrowExceptionIfIdIsNull() throws Exception {

    metadataBuilderFrom(createObjectBuilder()
            .add(ID, NULL)
            .build()
    ).build();
}