@Test
public void testProcessUnmarkedMetacard() {

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