@Test public void requiredArgShouldNotBeNull() { thrown.expect(IllegalArgumentException.class); thrown.expectMessage("Argument can not be null"); RxViper.requireNotNull(null); }
static <T> T requireNotNull(T arg) { if (arg == null) { throw new IllegalArgumentException("Argument can not be null"); } return arg; }
RxViper { static <T> T requireNotNull(T arg) { if (arg == null) { throw new IllegalArgumentException("Argument can not be null"); } return arg; } }
RxViper { static <T> T requireNotNull(T arg) { if (arg == null) { throw new IllegalArgumentException("Argument can not be null"); } return arg; } private  RxViper(); }
RxViper { static <T> T requireNotNull(T arg) { if (arg == null) { throw new IllegalArgumentException("Argument can not be null"); } return arg; } private  RxViper();  }
RxViper { static <T> T requireNotNull(T arg) { if (arg == null) { throw new IllegalArgumentException("Argument can not be null"); } return arg; } private  RxViper();   }