### Question:
CheckRunner { public static Builder builder(Injector injector) { return new Builder(injector); } private  CheckRunner(Set<Check> checks); List<Failure> runChecks(); static Builder builder(Injector injector);  }### Answer:
@Test(expected = ClassNotFoundException.class) public void testNonexistentClassThrowsException() throws Exception { CheckRunner.builder(injector).addClass("asdf").build(); }
@Test(expected = IllegalArgumentException.class) public void testNonCheckClassThrowsException() throws Exception { CheckRunner.builder(injector).addClass(getClass().getName()); }