@Test
void shouldCheckArgumentType()
{

    assertDoesNotThrow( () -> checkArgument( "Hello", String.class ) );
    assertDoesNotThrow( () -> checkArgument( new ArrayList<>(), List.class ) );
    assertThrows( IllegalArgumentException.class, () -> checkArgument( 42, String.class ) );
    assertThrows( IllegalArgumentException.class, () -> checkArgument( new ArrayList<>(), Map.class ) );
}