Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void assertTrue() {
- ...
- }
- Assert.assertTrue(condition); //Should look like this.
- assertTrue(condition); //But in fact it looks like this.
- public static class Logger() {
- public static void log() {
- ...
- }
- }
- Logger.log(someMessage); //Not cool
- log(someMessage); //cool!
- import static some.packages.Assert.assertTrue;
- // or
- import static some.packages.Assert.*;
- import static whatever.packages.your.logger.is.in.Logger.log;
Add Comment
Please, Sign In to add comment