@Test
public void testNullDescriptorDoesNotSetAttribute() throws Exception {

  AttributeImpl attribute = new AttributeImpl(ATTRIBUTE_KEY_POC, EXPECTED_POC);
  Metacard mockedMetacard = setupMetacardWithNullDescriptor();
  safelySetAttribute(mockedMetacard, attribute);
  assertThat(metacard.getPointOfContact(), is(nullValue()));
}