public static <T> T checkNotNull(T argument, String name) {
        if (argument == null) {
            throw new NullPointerException(name + " can't be null");
        }
        return argument;
    }
@Test(expected = NullPointerException.class)
    public void test_checkNotNull1_whenNull() {
        checkNotNull(null);
    }