@Test(expected = IllegalStateException.class)
public void testNullAttribute() throws URISyntaxException {

  when(mockMetacard.getAttribute(anyString())).thenReturn(null);
  catalogInputAdapter.buildReadRequest(mockMetacard, OVERVIEW);
}