@Test
public void testProcessUnmarkedMetacardWithSecurityAttributeDescriptors() {

  // given
  final MetacardImpl unmarkedMetacardWithSecurityAttributeDescriptors =
      new MetacardImpl(new SecurityAttributes());
  unmarkedMetacardWithSecurityAttributeDescriptors.setTags(
      Collections.singleton(Metacard.DEFAULT_TAG));
  final DefaultSecurityAttributeValuesPlugin defaultSecurityAttributeValuesPlugin =
      new DefaultSecurityAttributeValuesPlugin(
          new SecurityAttributes(),
          createTestSystemHighAttributes(),
          createTestInitialConfiguration());
  // when
  final CreateRequest modifiedCreateRequest =
      defaultSecurityAttributeValuesPlugin.process(
          createCreateRequest(unmarkedMetacardWithSecurityAttributeDescriptors));
  // then
  final List<Metacard> resultMetacards = modifiedCreateRequest.getMetacards();
  assertThat(resultMetacards, hasSize(1));
  assertTestDefaultsAdded(resultMetacards.get(0));
}