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

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