@Test
public void extractAAGUID_with_fido2_test() {

    AAGUID aaguid = new AAGUID(UUID.randomUUID());
    MetadataStatement metadataStatement = mock(MetadataStatement.class);
    when(metadataStatement.getProtocolFamily()).thenReturn("fido2");
    when(metadataStatement.getAaguid()).thenReturn(aaguid);
    assertThat(target.extractAAGUID(metadataStatement)).isEqualTo(aaguid);
}