@Test
    void verifyRequireInterface() {
        assertThrows(IllegalArgumentException.class, () -> BeanSupplier.of(String.class).otherwiseProxy().get());
    }
This is {@link BeanSupplierTests}.

@author Misagh Moayyed
@since 6.5.0
core/cas-server-core-util-api/src/test/java/org/apereo/cas/util/spring/beans/BeanSupplierTests.java