Advertisement
Guest User

Untitled

a guest
Apr 18th, 2014
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. Arrays.asList(line).forEach(org.junit.Assert::assertNotNull);
  2.  
  3. import org.junit.Assert;
  4. ...
  5. Arrays.asList(line).forEach(Assert::assertNotNull);
  6.  
  7. import static org.junit.Assert.assertNotNull;
  8. ...
  9. Arrays.asList(line).forEach(assertNotNull);
  10.  
  11. Arrays.asList(line).forEach(e-> assertNotNull(e));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement