// SPDX-FileCopyrightText: 2020 Paul Schaub // // SPDX-License-Identifier: Apache-2.0 package org.pgpainless.key.protection; import static org.junit.jupiter.api.Assertions.assertNull; import org.junit.jupiter.api.Test; public class UnprotectedKeysProtectorTest { private final UnprotectedKeysProtector protector = new UnprotectedKeysProtector(); @Test public void testKeyProtectorReturnsNullDecryptor() { assertNull(protector.getDecryptor(0L)); } @Test public void testKeyProtectorReturnsNullEncryptor() { assertNull(protector.getEncryptor(0L)); } }