@Test
public void testNulls() throws Exception {

  new NullPointerTester().testAllPublicInstanceMethods(prefix("foo").in("foobar").get());
  newClassSanityTester().testNulls(Substring.class);
  newClassSanityTester().forAllPublicStaticMethods(Substring.class).testNulls();
}