Last active
August 29, 2015 14:13
-
-
Save O5ten/796dd06fb2f5732bada6 to your computer and use it in GitHub Desktop.
Dagens metod.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void verifyObjectIsValid() { | |
Object object = test.getFacade().getObject(); | |
if (object.getObject() == null || object.getAnotherObject() == null) { | |
throw new IllegalStateException("Object: Invalid object: object=" + object.getAnotherObject() | |
+ ", Load Profile: " + object.getObject()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment