    @Test
    void shouldThrowForNullClassWithProvider() {

        // given / when
        InjectorException ex = assertThrows(InjectorException.class, () -> injector.registerProvider(null, mock(Provider.class)));

        // then
        assertThat(ex.getMessage(), containsString("may not be null"));
    }